Expand description
Convenient assertion macros that print the failed expressions and their evaluated values.
Macrosยง
- assert_
fn - Assert that a binary function call of 2 expressions returns
true
. - assert_
op - Assert that a binary expression of 2 identifiers/literals returns
true
. - assert_
op_ expr - Assert that a binary expression of 2 expressions returns
true
. - debug_
assert_ fn - Assert that a binary function call of 2 expressions returns
true
. - debug_
assert_ op - Assert that a binary expression of 2 identifiers/literals returns
true
. - debug_
assert_ op_ expr - Assert that a binary expression of 2 expressions returns
true
. - function_
assertion_ macro - Create an assertion macro for boolean function calls.
- operator_
assertion_ macros - Create assertion macros for boolean binary operators.