37 #define BOOST_TEST_MODULE FCL_GEOMETRIC_SHAPES
38 #include <boost/test/included/unit_test.hpp>
40 #define CHECK_CLOSE_TO_0(x, eps) BOOST_CHECK_CLOSE((x + 1.0), (1.0), (eps))
52 typedef hpp::fcl::shared_ptr<hpp::fcl::CollisionGeometry>
71 distanceResult.
clear();
76 BOOST_CHECK_CLOSE(distanceResult.
min_distance, 5.5, 1e-2);
77 BOOST_CHECK_CLOSE(o1[0], -6, 1e-2);
78 BOOST_CHECK_CLOSE(o1[1], 0.8, 1e-1);
79 BOOST_CHECK_CLOSE(o1[2], 1.5, 1e-2);
80 BOOST_CHECK_CLOSE(o2[0], -0.5, 1e-2);
81 BOOST_CHECK_CLOSE(o2[1], 0.8, 1e-1);
82 BOOST_CHECK_CLOSE(o2[2], 1.5, 1e-2);