diff options
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_integration_tests/route_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/routing/routing_integration_tests/route_test.cpp b/routing/routing_integration_tests/route_test.cpp index 43b2e3b12f..b661506e7c 100644 --- a/routing/routing_integration_tests/route_test.cpp +++ b/routing/routing_integration_tests/route_test.cpp @@ -371,4 +371,15 @@ namespace Route const & route = *routeResult.first; TEST_LESS(route.GetTotalTimeSec(), numeric_limits<double >::max() / 2.0, ()); } + + // Test on routing along features with tag man_made:pier. + UNIT_TEST(CanadaVictoriaVancouverTest) + { + TRouteResult const routeResult = + integration::CalculateRoute(integration::GetVehicleComponents<VehicleType::Car>(), + MercatorBounds::FromLatLon(48.47831, -123.32749), {0.0, 0.0}, + MercatorBounds::FromLatLon(49.26242, -123.11553)); + IRouter::ResultCode const result = routeResult.second; + TEST_EQUAL(result, IRouter::NoError, ()); + } } // namespace |