macro_rules! soft_assert_eq_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 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.