Expand description
Assert a floating point 32-bit number is equal to another within f32::EPSILON.
Pseudocode:
a = b
§Example
use assertables::*;
let a: f32 = 1.0 / 3.0;
let b: f32 = 0.3333333;
assert_f32_eq!(a, b);§Module macros
assert_f32_eqassert_f32_eq_as_resultdebug_assert_f32_eqAssert a floating point 32-bit number is equal to another within f32::EPSILON.