[−][src]Crate all_asserts
all_asserts
The all_asserts crate provides multiple assert macros which aren't there in the
standard library. These macros provide extremely useful outputs and can be used for
writing better tests.
Macros
| assert_ge | Asserts that the left hand side expression is greater than or equal to the right hand side expression |
| assert_gt | Asserts that the left hand side expression is greater than the right hand side expression |
| assert_le | Asserts that the left hand side expression is lesser than or equal to the right hand side expression |
| assert_lt | Asserts that the left hand side expression is lesser than the right hand side expression |
| assert_nrange | Asserts that the right hand side expression is not within the range on the left hand side |
| assert_range | Asserts that the right hand side expression is within the range on the left hand side |
| debug_assert_ge | This is a debug-only variant of the |
| debug_assert_gt | This is a debug-only variant of the |
| debug_assert_le | This is a debug-only variant of the |
| debug_assert_lt | This is a debug-only variant of the |
| debug_assert_nrange | This is a debug-only variant of the |
| debug_assert_range | This is a debug-only variant of the |