diff --git a/base/base_tests/timer_test.cpp b/base/base_tests/timer_test.cpp index f1b3e4f98c..68f8ab24ed 100644 --- a/base/base_tests/timer_test.cpp +++ b/base/base_tests/timer_test.cpp @@ -22,7 +22,7 @@ UNIT_TEST(Timer_Seconds) for (int i = 0; i < 10000000; ++i) {} t2 = timer.ElapsedSeconds(); - TEST_EQUAL(t1, t2, ("Timer values should be equal: compiler loop optimization!")); + TEST_ALMOST_EQUAL(t1, t2, ("Timer values should be equal: compiler loop optimization!")); #endif }