EXPECT not CHECK
parent
40f1858fd8
commit
ff83094b5c
|
|
@ -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<Pose3>(
|
||||
|
|
@ -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));
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
|
|
|
|||
Loading…
Reference in New Issue