assert float eq google test code example
Example: google test assert eq float
ASSERT_NEAR(13.45, 13.45, 0.01); // third member is precision (for floats)
ASSERT_NEAR(13.45, 13.45, 0.01); // third member is precision (for floats)