diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-03-16 15:32:24 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-03-16 16:29:12 +0300 |
commit | b0916a05c8c6d68189d3a6f999d6e198f8ece3a3 (patch) | |
tree | ea96935fbe2c11bfdadc68dc5b7e7d3574c1cb9d /routing | |
parent | c02a75f9cef7cf6ca334ef1c3498bd83ea69f815 (diff) |
Test on building routes along piers.
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 |