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_eq_f32!(a, b);§Module macros
assert_eq_f32assert_eq_f32_as_resultdebug_assert_eq_f32Assert a floating point 32-bit number is equal to another within f32::EPSILON.