diff --git a/gtsam/navigation/tests/testGPSFactor.cpp b/gtsam/navigation/tests/testGPSFactor.cpp index c947cc1d9..bade854af 100644 --- a/gtsam/navigation/tests/testGPSFactor.cpp +++ b/gtsam/navigation/tests/testGPSFactor.cpp @@ -53,7 +53,7 @@ TEST( GPSFactor, Constructors ) { // Create a linearization point at zero error Pose3 T(Rot3::RzRyRx(0.15, -0.30, 0.45), Point3(E, N, U)); - CHECK(assert_equal(zero(3),factor.evaluateError(T),1e-5)); + EXPECT(assert_equal(zero(3),factor.evaluateError(T),1e-5)); // Calculate numerical derivatives Matrix expectedH = numericalDerivative11( @@ -64,7 +64,7 @@ TEST( GPSFactor, Constructors ) { factor.evaluateError(T, actualH); // Verify we get the expected error - CHECK(assert_equal(expectedH, actualH, 1e-8)); + EXPECT(assert_equal(expectedH, actualH, 1e-8)); } //***************************************************************************