Skip to content

Commit

Permalink
explorations
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajari committed Dec 13, 2016
1 parent f31f299 commit 1a287db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions features/testbot/trip.feature
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ Feature: Basic trip planning
| da |

When I plan a trip I should get
| waypoints | trips | durations |
| waypoints | trips | durations |
| a,b,c,d | abcda | 7.6 |
| d,b,c,a | dbcaa | 7.6 |
| d,b,c,a | dbcad | 7.6 |


Scenario: Testbot - Trip planning with more than 10 nodes with fixed start and end
Expand Down
3 changes: 1 addition & 2 deletions include/util/matrix_graph_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ namespace util
{

// This Wrapper provides all methods that are needed for extractor::TarjanSCC, when the graph is
// given in a
// matrix representation (e.g. as output from a distance table call)
// given in a matrix representation (e.g. as output from a distance table call)

template <typename T> class MatrixGraphWrapper
{
Expand Down
2 changes: 0 additions & 2 deletions unit_tests/server/parameters_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ BOOST_AUTO_TEST_CASE(valid_trip_urls)
reference_1.coordinates = coords_1;
auto result_1 = parseParameters<TripParameters>("1,2;3,4");
BOOST_CHECK(result_1);
//CHECK_EQUAL_RANGE(reference_1.bearings, result_1->bearings);
CHECK_EQUAL_RANGE(reference_1.radiuses, result_1->radiuses);
CHECK_EQUAL_RANGE(reference_1.coordinates, result_1->coordinates);

Expand All @@ -426,7 +425,6 @@ BOOST_AUTO_TEST_CASE(valid_trip_urls)
BOOST_CHECK(result_2);
BOOST_CHECK_EQUAL(reference_2.source, result_2->source);
BOOST_CHECK_EQUAL(reference_2.destination, result_2->destination);
//CHECK_EQUAL_RANGE(reference_2.bearings, result_2->bearings);
CHECK_EQUAL_RANGE(reference_2.radiuses, result_2->radiuses);
CHECK_EQUAL_RANGE(reference_2.coordinates, result_2->coordinates);
}
Expand Down

0 comments on commit 1a287db

Please sign in to comment.