From 04e2eea9927c98a23c79405d03b585cab6e42f71 Mon Sep 17 00:00:00 2001 From: Olga Khlopkova Date: Wed, 5 Feb 2020 14:51:08 +0300 Subject: [PATCH] [Routing tests] Updated FinshRouteOnSomeDistanceToTheFinishPointTest --- routing/routing_tests/route_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/routing_tests/route_tests.cpp b/routing/routing_tests/route_tests.cpp index 77aa04aab8..04a1e5cd15 100644 --- a/routing/routing_tests/route_tests.cpp +++ b/routing/routing_tests/route_tests.cpp @@ -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, ());