Crate assert_cmp
source ·Expand description
Convenient assertion macros that print the failed expressions and their evaluated values.
Macros
Assert that a binary function call of 2 expressions returns
true
.Assert that a binary expression of 2 identifiers/literals returns
true
.Assert that a binary expression of 2 expressions returns
true
.Assert that a binary function call of 2 expressions returns
true
.Assert that a binary expression of 2 identifiers/literals returns
true
.Assert that a binary expression of 2 expressions returns
true
.Create an assertion macro for boolean function calls.
Create assertion macros for boolean binary operators.