Commit 9a85c047 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix unit-tests

parent aa9e2fd2
......@@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE (Roadmap1) {
StraightPtr_t sm = Straight::create (p);
// create roadmap
hpp::core::DistancePtr_t distance (WeighedDistance::createWithWeight
(robot, boost::assign::list_of (1)(1)));
(robot, vector_t::Ones(2)));
RoadmapPtr_t r = Roadmap::create (distance, robot);
std::vector <NodePtr_t> nodes;
......@@ -311,7 +311,7 @@ BOOST_AUTO_TEST_CASE (nearestNeighbor) {
StraightPtr_t sm = Straight::create (p);
// create roadmap
hpp::core::DistancePtr_t distance (WeighedDistance::createWithWeight
(robot, boost::assign::list_of (1)(1)));
(robot, vector_t::Ones(2)));
RoadmapPtr_t r = Roadmap::create (distance, robot);
std::vector <NodePtr_t> nodes;
......
Supports Markdown
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