referrerpolicy=no-referrer-when-downgrade

Macro substrate_test_utils::assert_eq_uvec

source ·
macro_rules! assert_eq_uvec {
    ( $x:expr, $y:expr $(,)? ) => { ... };
}
Expand description

Panic when the vectors are different, without taking the order into account.

§Examples

#[macro_use]
assert_eq_uvec!(vec![1,2], vec![2,1]);
#[macro_use]
assert_eq_uvec!(vec![1,2,3], vec![2,1]);