We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c044b4c commit d766304Copy full SHA for d766304
1 file changed
tests/test_types.cpp
@@ -92,13 +92,15 @@ TEST(TestTypes, Pose_equality)
92
const Pose a(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
93
const Pose b(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
94
const Pose c(1.1, 2.0, 3.0, 0.1, 0.2, 0.3);
95
+ const Pose d(1.1, 2.1, 3.1, 5.1, 5.2, 5.3);
96
97
const Q q{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
98
const Pose with_q(1.0, 2.0, 3.0, 0.1, 0.2, 0.3, q);
99
const Pose without_q_near(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
100
101
EXPECT_TRUE(a == b);
102
EXPECT_FALSE(a == c);
103
+ EXPECT_FALSE(a == d);
104
EXPECT_FALSE(with_q == without_q_near);
105
106
const Pose with_same_q(1.0, 2.0, 3.0, 0.1, 0.2, 0.3, q);
0 commit comments