From f04e5e037b1813b1419e9b1224cec12c910fc4c9 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Fri, 15 Jun 2018 09:55:22 +0300 Subject: [PATCH] Routing integration tests fix for 18.05.28 maps. --- routing/routing_integration_tests/bicycle_route_test.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/routing/routing_integration_tests/bicycle_route_test.cpp b/routing/routing_integration_tests/bicycle_route_test.cpp index a9a8fc865a..b13b2e31c5 100644 --- a/routing/routing_integration_tests/bicycle_route_test.cpp +++ b/routing/routing_integration_tests/bicycle_route_test.cpp @@ -65,12 +65,14 @@ UNIT_TEST(NetherlandsAmsterdamBicycleYes) TEST(my::AlmostEqualAbs(route.GetTotalTimeSec(), 357.0, 1.0), ()); } -UNIT_TEST(NetherlandsAmsterdamSingelStOnewayBicycleNo) +// This test on tag cycleway=opposite for a streets which have oneway=yes. +// It means bicycles may go in the both directions. +UNIT_TEST(NetherlandsAmsterdamSingelStCyclewayOpposite) { CalculateRouteAndTestRouteLength( GetVehicleComponents(), - MercatorBounds::FromLatLon(52.3785, 4.89407), {0., 0.}, - MercatorBounds::FromLatLon(52.37462, 4.88983), 519.0); + MercatorBounds::FromLatLon(52.37571, 4.88591), {0., 0.}, + MercatorBounds::FromLatLon(52.37736, 4.88744), 212.8); } UNIT_TEST(RussiaMoscowKashirskoe16ToCapLongRoute)