diff src/Tests/compass_test.cpp @ 285:cd2320cd6f9a

NEW unit tests for gas volumes...
author jdg@air
date Fri, 29 May 2015 01:25:45 +0200
parents 7d9edd3b8c86
children
line wrap: on
line diff
--- a/src/Tests/compass_test.cpp	Thu May 28 09:56:15 2015 +0200
+++ b/src/Tests/compass_test.cpp	Fri May 29 01:25:45 2015 +0200
@@ -56,7 +56,7 @@
              + sqr(compass_CZ_f/32768.0f - cz);
 
     // Calibration error less than 2 bits:
-    EXPECT_NEAR(0, sqrtf(r2), 3.0f/32768.0f)
+    EXPECT_NEAR(0, sqrtf(r2), 4.0f/32768.0f)
         << "Center at (" << compass_CX_f/32768.0f << ", "
                          << compass_CY_f/32768.0f << ", "
                          << compass_CZ_f/32768.0f << ")."