diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-15 16:21:45 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-23 19:56:13 +0300 |
commit | 671d43a7750f2361f0f5bf184cb8af129faff860 (patch) | |
tree | 2a4a6518a6b944f10bb8e6387e809907efdda994 /routing | |
parent | 54c2a331d72057cddf94277cad83ec99acdda6fa (diff) |
[routing][tests] Adding tests on long pedestrian and bicycle route.
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_integration_tests/bicycle_route_test.cpp | 7 | ||||
-rw-r--r-- | routing/routing_integration_tests/pedestrian_route_test.cpp | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/routing/routing_integration_tests/bicycle_route_test.cpp b/routing/routing_integration_tests/bicycle_route_test.cpp index 2929dfa1b7..11016704b1 100644 --- a/routing/routing_integration_tests/bicycle_route_test.cpp +++ b/routing/routing_integration_tests/bicycle_route_test.cpp @@ -63,3 +63,10 @@ UNIT_TEST(NetherlandsAmsterdamSingelStOnewayBicycleNo) integration::GetBicycleComponents(), MercatorBounds::FromLatLon(52.3785, 4.89407), {0., 0.}, MercatorBounds::FromLatLon(52.37462, 4.88983), 519.0); } + +UNIT_TEST(RussiaMoscowKashirskoe16ToCapLongRoute) +{ + integration::CalculateRouteAndTestRouteLength( + integration::GetBicycleComponents(), MercatorBounds::FromLatLon(55.66230, 37.63214), {0., 0.}, + MercatorBounds::FromLatLon(55.68895, 37.70286), 7057.0); +} diff --git a/routing/routing_integration_tests/pedestrian_route_test.cpp b/routing/routing_integration_tests/pedestrian_route_test.cpp index 7beb0515cd..9cde8eb530 100644 --- a/routing/routing_integration_tests/pedestrian_route_test.cpp +++ b/routing/routing_integration_tests/pedestrian_route_test.cpp @@ -528,3 +528,11 @@ UNIT_TEST(RussiaMoscowSevTushinoParkPedestrianOnePointTurnTest) integration::TestTurnCount(route, 0); integration::TestRouteLength(route, 0.0); } + +UNIT_TEST(MoscowKashirskoe16ToVorobeviGori) +{ + integration::CalculateRouteAndTestRouteLength( + integration::GetPedestrianComponents(), + MercatorBounds::FromLatLon(55.66230, 37.63214), {0., 0.}, + MercatorBounds::FromLatLon(55.70934, 37.54232), 9553.0); +} |