[−][src]Crate assertify
This provides two convenience macros to make tests from simple expressions.
testify!(add_one_two, 1 + 2 == 3);
#[test] fn add_one_two() { assertify!(1 + 2 == 3); }
Macros
assertify | Assert an expression is true or give a useful error when it isn’t. |
testify | Create a test function from an expression. |