Crate fuzzycomp
Source - assert_approx_eq
- Reexporting assert_approx_eq macro from assert_approx_eq
Asserts that two expressions are approximately (~1.0e-6) equal to each other.
- eq
- Equal within margin (equal enough)
- ge
- Not surely smaller (at least equal)
- gt
- Surely greater (greater enough)
- le
- Not surely larger (at most equal)
- lt
- Surely less (less enough)
- ne
- Not equal within margin (unequal enough)