- Pull the test input files
git lfs install
git lfs fetch
git lfs pull
- Compile the unit tests
catkin build --make-args tests -- map_utils
- Run the tests
rosrun map_utils test_incremental_pointcloud
rosrun map_utils test_intersections
- To generate the unit test data, open the unit test files and change
#define GENERATE_TEST_RESULTS 0
to
#define GENERATE_TEST_RESULTS 1