Skip to content

Commit

Permalink
[Routing tests] Updated FinshRouteOnSomeDistanceToTheFinishPointTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic-drones authored and bykoianko committed Feb 5, 2020
1 parent 628fc9c commit 04e2eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routing/routing_tests/route_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ UNIT_TEST(FinshRouteOnSomeDistanceToTheFinishPointTest)
// Finish tolerance value for cars is greater then for other vehicle types.
// The iterator for other types should be moved closer to the finish point.
if (vehicleType == VehicleType::Car)
route.MoveIterator(GetGps(1.0, 2.99956));
route.MoveIterator(GetGps(1.0, 2.99986));
else
route.MoveIterator(GetGps(1.0, 2.99983));
route.MoveIterator(GetGps(1.0, 2.99989));

TEST(route.IsSubroutePassed(0), ());
TEST_LESS(route.GetCurrentDistanceToEndMeters(), distToFinish, ());
Expand Down

0 comments on commit 04e2eea

Please sign in to comment.