| 41 | namespace { |
| 42 | |
| 43 | TEST(ComputeClosestRotationMatrix, Nominal) { |
| 44 | const Eigen::Matrix3d A = Eigen::Matrix3d::Identity(); |
| 45 | EXPECT_THAT(ComputeClosestRotationMatrix(A), EigenMatrixNear(A, 1e-6)); |
| 46 | EXPECT_THAT(ComputeClosestRotationMatrix(2 * A), EigenMatrixNear(A, 1e-6)); |
| 47 | } |
| 48 | |
| 49 | TEST(DecomposeProjectionMatrix, Nominal) { |
| 50 | for (int i = 1; i < 100; ++i) { |
nothing calls this directly
no test coverage detected