From 63495ddac3607ea5b6ca09646c9ec51134cbfd3d Mon Sep 17 00:00:00 2001 From: GuillaumeLaine Date: Mon, 26 Feb 2024 16:26:17 +0100 Subject: [PATCH] geo: correct unit test --- src/lib/geo/test_geo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/geo/test_geo.cpp b/src/lib/geo/test_geo.cpp index e93bdae0f6..0cd3d835aa 100644 --- a/src/lib/geo/test_geo.cpp +++ b/src/lib/geo/test_geo.cpp @@ -42,7 +42,7 @@ class GeoTest : public ::testing::Test public: void SetUp() override { - proj.initReference(math::radians(473566094 / 1e7), math::radians(85190237 / 1e7), 0); + proj.initReference(473566094 / 1e7, 85190237 / 1e7, 0); } protected: @@ -73,7 +73,7 @@ TEST_F(GeoTest, reprojectProject) TEST_F(GeoTest, projectReproject) { - // GIVEN: x and y coordinates in the local cartesian frame + // GIVEN: lat and lon coordinates in the geographic coordinate system double lat = 47.356616973876953; double lon = 8.5190505981445313; float x;