From 0814ac585eb9c5b4acd3b0c8aaf7bf01790fa25a Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 26 Mar 2018 11:17:22 -0400 Subject: [PATCH] declination test update values - test values entered from https://www.ngdc.noaa.gov/geomag-web/ --- src/systemcmds/tests/test_autodeclination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemcmds/tests/test_autodeclination.cpp b/src/systemcmds/tests/test_autodeclination.cpp index 0740411330..bdaed6cc48 100644 --- a/src/systemcmds/tests/test_autodeclination.cpp +++ b/src/systemcmds/tests/test_autodeclination.cpp @@ -24,7 +24,7 @@ private: bool AutoDeclinationTest::autodeclination_check() { - ut_assert("declination differs more than 0.1 degrees", get_mag_declination(47.0, 8.0) - 1.6f < 0.1f); + ut_assert("declination differs more than 0.1 degrees", get_mag_declination(47.0, 8.0) - 2.6f < 0.1f); // Test world endpoints ut_assert("declination differs more than 0.1 degrees", get_mag_declination(-90.0, 180.0) - 47.0f < 0.1f); ut_assert("declination differs more than 0.1 degrees", get_mag_declination(-90.0, -180.0) - 47.0f < 0.1f);