Macro mz_ore::soft_assert
source · macro_rules! soft_assert { ($cond:expr $(, $($arg:tt)+)?) => { ... }; }
Available on crate feature
test
only.Expand description
Asserts that a condition is true if soft assertions are enabled.
Soft assertions have a small runtime cost even when disabled. See
ore::assert
for details.