Cross-platform check
parent
1556c25464
commit
adcf60f559
|
@ -95,7 +95,7 @@ TEST(Scenario, Loop) {
|
||||||
// R = v/w, so test if loop crests at 2*R
|
// R = v/w, so test if loop crests at 2*R
|
||||||
const double R = v / w;
|
const double R = v / w;
|
||||||
const Pose3 T30 = scenario.pose(30);
|
const Pose3 T30 = scenario.pose(30);
|
||||||
EXPECT(assert_equal(Vector3(-M_PI, 0, -M_PI), T30.rotation().xyz(), 1e-9));
|
EXPECT(assert_equal(Rot3::Rodrigues(0, M_PI, 0), T30.rotation(), 1e-9));
|
||||||
EXPECT(assert_equal(Point3(0, 0, 2 * R), T30.translation(), 1e-9));
|
EXPECT(assert_equal(Point3(0, 0, 2 * R), T30.translation(), 1e-9));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue