diff --git a/src/Camera_TEST.cc b/src/Camera_TEST.cc index 262f41a86..99d826d4b 100644 --- a/src/Camera_TEST.cc +++ b/src/Camera_TEST.cc @@ -412,12 +412,12 @@ void CameraTest::IntrinsicMatrix(const std::string &_renderEngine) EXPECT_DOUBLE_EQ(cameraIntrinsics(1, 2), 120); // Verify rest of the intrinsics - EXPECT_EQ(cameraIntrinsics(0, 1), 0); - EXPECT_EQ(cameraIntrinsics(1, 0), 0); - EXPECT_EQ(cameraIntrinsics(0, 1), 0); - EXPECT_EQ(cameraIntrinsics(2, 0), 0); - EXPECT_EQ(cameraIntrinsics(2, 1), 0); - EXPECT_EQ(cameraIntrinsics(2, 2), 1); + EXPECT_DOUBLE_EQ(cameraIntrinsics(0, 1), 0); + EXPECT_DOUBLE_EQ(cameraIntrinsics(1, 0), 0); + EXPECT_DOUBLE_EQ(cameraIntrinsics(0, 1), 0); + EXPECT_DOUBLE_EQ(cameraIntrinsics(2, 0), 0); + EXPECT_DOUBLE_EQ(cameraIntrinsics(2, 1), 0); + EXPECT_DOUBLE_EQ(cameraIntrinsics(2, 2), 1); // Verify that changing camera size changes intrinsics height = 1000;