devela::code::util

Macro assert_eq_all

Source
macro_rules! assert_eq_all {
    ($first:expr, $($rest:expr),+ $(,)?) => { ... };
}
Expand description

Asserts the equality of a series of expressions.

Similar to assert_eq but supports more than 2 terms to test for equality.

ยงPanics