[routing] Fixing routing integration tests after taking into account altitude for pedestrian and bicycle routing.

This commit is contained in:
Vladimir Byko-Ianko 2019-01-23 17:19:06 +03:00 committed by Vlad Mihaylenko
parent 02ceb62db5
commit 9bac7a72db

View file

@ -64,7 +64,7 @@ UNIT_TEST(NetherlandsAmsterdamBicycleYes)
Route const & route = *routeResult.first;
RouterResultCode const result = routeResult.second;
TEST_EQUAL(result, RouterResultCode::NoError, ());
TEST(base::AlmostEqualAbs(route.GetTotalTimeSec(), 268.3, 1.0), (route.GetTotalTimeSec()));
TEST(base::AlmostEqualAbs(route.GetTotalTimeSec(), 293.4, 1.0), (route.GetTotalTimeSec()));
}
// This test on tag cycleway=opposite for a streets which have oneway=yes.