From 0053e598b268b09acdc317d61de759ace4492b8e Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 30 Jul 2013 00:43:34 +0200 Subject: [PATCH] Fixed test --- base/base_tests/timer_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }