Macro concordium_std::claim
source · macro_rules! claim { ($cond:expr) => { ... }; ($cond:expr,) => { ... }; ($cond:expr, $($arg:tt)*) => { ... }; }
Expand description
The claim
macro is used for testing as a substitute for the assert macro.
It checks the condition and if false it reports back an error.
Used only in testing with
test_infrastructure
.