Crate assert_cmp[][src]

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.