Skip to content

Commit

Permalink
unittest: Add compatibility with hpp-fcl
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Dec 6, 2024
1 parent 610ef74 commit 25bfdf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unittest/parallel-geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ BOOST_AUTO_TEST_CASE(test_talos)
}
else
{
// Only run this part in coal, this issue doesn't happen in hpp-fcl
#if HPP_FCL_VERSION_AT_LEAST(3, 0, 0)
// Compare standard values
BOOST_CHECK_EQUAL(contact.o1, contact_ref.o1);
BOOST_CHECK_EQUAL(contact.o2, contact_ref.o2);
Expand All @@ -276,6 +278,7 @@ BOOST_AUTO_TEST_CASE(test_talos)
BOOST_CHECK(contact_ref.pos != contact_ref.pos);
BOOST_CHECK(contact_ref.nearest_points[0] != contact_ref.nearest_points[0]);
BOOST_CHECK(contact_ref.nearest_points[1] != contact_ref.nearest_points[1]);
#endif // hpp-fcl >= 3.0.0
}
}
}
Expand Down

0 comments on commit 25bfdf7

Please sign in to comment.