diff --git a/rct_optimizations/test/pnp_utest.cpp b/rct_optimizations/test/pnp_utest.cpp index a66a7b03..7de8564a 100644 --- a/rct_optimizations/test/pnp_utest.cpp +++ b/rct_optimizations/test/pnp_utest.cpp @@ -32,7 +32,7 @@ TEST(PNP_2D, PerfectInitialConditions) EXPECT_LT(result.initial_cost_per_obs, 1.0e-15); EXPECT_LT(result.final_cost_per_obs, 1.0e-15); - Eigen::IOFormat fmt(4, 0, ", ", "\n", "[", "]"); + Eigen::IOFormat fmt(4, 0, " | ", "\n", "|", "|"); std::cout << "Covariance:\n" << result.camera_to_target_covariance.format(fmt) << std::endl; } @@ -61,7 +61,7 @@ TEST(PNP_2D, PerturbedInitialCondition) EXPECT_TRUE(result.camera_to_target.isApprox(camera_to_target, 1.0e-8)); EXPECT_LT(result.final_cost_per_obs, 1.0e-15); - Eigen::IOFormat fmt(4, 0, ", ", "\n", "[", "]"); + Eigen::IOFormat fmt(4, 0, " | ", "\n", "|", "|"); std::cout << "Covariance:\n" << result.camera_to_target_covariance.format(fmt) << std::endl; } @@ -100,7 +100,7 @@ TEST(PNP_2D, BadIntrinsicParameters) EXPECT_FALSE(result.camera_to_target.isApprox(camera_to_target, 1.0e-3)); EXPECT_GT(result.final_cost_per_obs, 1.0e-3); - Eigen::IOFormat fmt(4, 0, ", ", "\n", "[", "]"); + Eigen::IOFormat fmt(4, 0, " | ", "\n", "|", "|"); std::cout << "Covariance:\n" << result.camera_to_target_covariance.format(fmt) << std::endl; }