Skip to content

Commit

Permalink
geo: correct unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLaine committed Feb 26, 2024
1 parent d988005 commit 629a779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/geo/test_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 629a779

Please sign in to comment.