fixing windows and mac ci errors

This commit is contained in:
matlabbe
2026-05-17 09:19:22 -07:00
parent 1e73868716
commit 59ba6e54bd
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -317,9 +317,9 @@ TEST_F(CameraModelTest, FieldOfView)
// Horizontal FOV should be larger than vertical for typical cameras
EXPECT_GT(fovX, fovY);
// Degrees should be approximately radians * 180 / PI
EXPECT_NEAR(hFOV, fovX * 180.0 / M_PI, 0.1);
EXPECT_NEAR(vFOV, fovY * 180.0 / M_PI, 0.1);
// Degrees should be approximately radians * 180 / PI (same as CameraModel.cpp)
EXPECT_NEAR(hFOV, fovX * 180.0 / CV_PI, 0.1);
EXPECT_NEAR(vFOV, fovY * 180.0 / CV_PI, 0.1);
}
// InFrame Tests