Macro mz_ore::soft_assert_ne_or_log
source ยท macro_rules! soft_assert_ne_or_log { ($left:expr, $right:expr) => { ... }; ($left:expr, $right:expr, $($arg:tt)+) => { ... }; }
Available on crate feature
test
only.Expand description
Asserts that two expressions are not equal to each other if soft assertions are enabled, or logs an error if soft assertions are disabled and the two expressions are not equal.