Skip to content

Commit d766304

Browse files
committed
More unequality tests for pose
1 parent c044b4c commit d766304

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_types.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,15 @@ TEST(TestTypes, Pose_equality)
9292
const Pose a(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
9393
const Pose b(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
9494
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);
9596

9697
const Q q{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
9798
const Pose with_q(1.0, 2.0, 3.0, 0.1, 0.2, 0.3, q);
9899
const Pose without_q_near(1.0, 2.0, 3.0, 0.1, 0.2, 0.3);
99100

100101
EXPECT_TRUE(a == b);
101102
EXPECT_FALSE(a == c);
103+
EXPECT_FALSE(a == d);
102104
EXPECT_FALSE(with_q == without_q_near);
103105

104106
const Pose with_same_q(1.0, 2.0, 3.0, 0.1, 0.2, 0.3, q);

0 commit comments

Comments
 (0)