Commit 3c74a177 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[test] Use header only Boost UTF lib (needed for windows).

* By needed, I mean I wasn't able to get it working on github CI.
parent a2c6b3c7
......@@ -38,8 +38,7 @@
#include <cmath>
#define BOOST_TEST_MODULE FCL_BOX_BOX
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#define CHECK_CLOSE_TO_0(x, eps) BOOST_CHECK_CLOSE ((x + 1.0), (1.0), (eps))
......
......@@ -37,8 +37,7 @@
#define BOOST_TEST_MODULE FCL_BROADPHASE
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/config.h>
#include <hpp/fcl/broadphase/broadphase.h>
......
......@@ -36,8 +36,7 @@
#define BOOST_TEST_MODULE FCL_BVH_MODELS
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "fcl_resources/config.h"
......
......@@ -36,8 +36,7 @@
#define BOOST_TEST_MODULE FCL_GEOMETRIC_SHAPES
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#define CHECK_CLOSE_TO_0(x, eps) BOOST_CHECK_CLOSE ((x + 1.0), (1.0), (eps))
......
......@@ -36,8 +36,7 @@
#define BOOST_TEST_MODULE FCL_GEOMETRIC_SHAPES
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#define CHECK_CLOSE_TO_0(x, eps) BOOST_CHECK_CLOSE ((x + 1.0), (1.0), (eps))
......
......@@ -36,8 +36,7 @@
/** \author Karsten Knese <Karsten.Knese@googlemail.com> */
#define BOOST_TEST_MODULE FCL_CAPSULE_CAPSULE
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#define CHECK_CLOSE_TO_0(x, eps) BOOST_CHECK_CLOSE ((x + 1.0), (1.0), (eps))
......
......@@ -40,8 +40,7 @@
#include <boost/chrono/chrono_io.hpp>
#define BOOST_TEST_MODULE FCL_COLLISION
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <fstream>
#include <boost/assign/list_of.hpp>
......
......@@ -36,8 +36,7 @@
#define BOOST_TEST_MODULE FCL_GEOMETRIC_SHAPES
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/shape/convex.h>
#include <hpp/fcl/collision.h>
......
......@@ -36,8 +36,7 @@
/** \author Jia Pan */
#define BOOST_TEST_MODULE FCL_DISTANCE
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <boost/timer.hpp>
#include <boost/filesystem.hpp>
......
......@@ -33,8 +33,7 @@
*/
#define BOOST_TEST_MODULE FCL_DISTANCE_LOWER_BOUND
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
# include <boost/filesystem.hpp>
#include <hpp/fcl/fwd.hh>
......
......@@ -37,8 +37,7 @@
#define BOOST_TEST_MODULE FCL_FRONT_LIST
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/internal/traversal_node_bvhs.h>
#include <hpp/fcl/internal/traversal_node_setup.h>
......
......@@ -37,8 +37,7 @@
#define BOOST_TEST_MODULE FCL_GEOMETRIC_SHAPES
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/narrowphase/narrowphase.h>
#include <hpp/fcl/collision.h>
......
......@@ -35,10 +35,8 @@
/** \author Florent Lamiraux <florent@laas.fr> */
#define BOOST_TEST_MODULE FCL_GJK
#define BOOST_TEST_DYN_LINK
#include <time.h>
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <Eigen/Geometry>
#include <hpp/fcl/narrowphase/narrowphase.h>
......
......@@ -37,8 +37,7 @@
#include <cmath>
#define BOOST_TEST_MODULE FCL_MATH
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/data_types.h>
#include <hpp/fcl/math/transform.h>
......
......@@ -35,9 +35,8 @@
/** \author Florent Lamiraux <florent@laas.fr> */
#define BOOST_TEST_MODULE FCL_OCTREE
#define BOOST_TEST_DYN_LINK
#include <fstream>
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <hpp/fcl/BVH/BVH_model.h>
......
......@@ -36,8 +36,7 @@
/** \author Jia Pan */
#define BOOST_TEST_MODULE FCL_SHAPE_MESH_CONSISTENCY
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/narrowphase/narrowphase.h>
#include <hpp/fcl/shape/geometric_shape_to_BVH_model.h>
......
#define BOOST_TEST_MODULE FCL_SIMPLE
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/internal/intersect.h>
#include <hpp/fcl/collision.h>
......
......@@ -36,8 +36,7 @@
/** \author Martin Felis <martin.felis@iwr.uni-heidelberg.de> */
#define BOOST_TEST_MODULE FCL_SPHERE_CAPSULE
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/collision.h>
#include <hpp/fcl/shape/geometric_shapes.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment