Use EXPECT_NEAR
or the DoubleEq
matcher instead. Floating point operations can lead to rounding errors which makes the results ever so slightly different.
Use EXPECT_NEAR
or the DoubleEq
matcher instead. Floating point operations can lead to rounding errors which makes the results ever so slightly different.