[−][src]Crate ntest
The ntest lib enhances the rust test framework with some useful functions.
Macros
assert_about_eq | Compare floating point values or vectors of floating points wether they are approximately equal.
The default value for epsilon is |
assert_false | Expects a false expression. Otherwise panics. |
assert_panics | A panic in Rust is not always implemented via unwinding, but can be implemented by aborting the process as well. This function only catches unwinding panics, not those that abort the process. See the catch unwind documentation for more information. |
assert_true | Expects a true expression. Otherwise panics. |
Traits
MaxDifference | Helper trait for |
Attribute Macros
test_case | Test cases can be used to have multiple inputs for a given function.
With the |