diff --git a/routing/routing_integration_tests/bicycle_route_test.cpp b/routing/routing_integration_tests/bicycle_route_test.cpp index 04d60cdfaf..807a3446ea 100644 --- a/routing/routing_integration_tests/bicycle_route_test.cpp +++ b/routing/routing_integration_tests/bicycle_route_test.cpp @@ -98,3 +98,12 @@ UNIT_TEST(RussiaKerchStraitFerryRoute) MercatorBounds::FromLatLon(45.4167, 36.7658), {0.0, 0.0}, MercatorBounds::FromLatLon(45.3653, 36.6161), 18000.0); } + +// Test on building pedestrian route past ferry. +UNIT_TEST(SwedenStockholmBicyclePastFerry) +{ + CalculateRouteAndTestRouteLength( + GetVehicleComponents(), + MercatorBounds::FromLatLon(59.4725, 18.51355), {0.0, 0.0}, + MercatorBounds::FromLatLon(59.32967, 18.075), 66161.2); +} diff --git a/routing/routing_integration_tests/pedestrian_route_test.cpp b/routing/routing_integration_tests/pedestrian_route_test.cpp index 04056d5eb7..29fabeda1e 100644 --- a/routing/routing_integration_tests/pedestrian_route_test.cpp +++ b/routing/routing_integration_tests/pedestrian_route_test.cpp @@ -486,10 +486,28 @@ UNIT_TEST(MoscowKashirskoe16ToVorobeviGori) } // Test on building pedestrian route past ferry. -UNIT_TEST(SwitzerlandSaintBlaisePedestrian) +UNIT_TEST(SwitzerlandSaintBlaisePedestrianPastFerry) { integration::CalculateRouteAndTestRouteLength( integration::GetVehicleComponents(), MercatorBounds::FromLatLon(47.010336, 6.982954), {0.0, 0.0}, MercatorBounds::FromLatLon(47.005817, 6.970227), 1532.3); } + +// Test on building pedestrian route past ferry. +UNIT_TEST(NetherlandsAmsterdamPedestrianPastFerry) +{ + integration::CalculateRouteAndTestRouteLength( + integration::GetVehicleComponents(), + MercatorBounds::FromLatLon(52.38075, 4.89938), {0.0, 0.0}, + MercatorBounds::FromLatLon(52.40194, 4.89038), 3580.0); +} + +// Test on building pedestrian route past ferry. +UNIT_TEST(ItalyVenicePedestrianPastFerry) +{ + integration::CalculateRouteAndTestRouteLength( + integration::GetVehicleComponents(), + MercatorBounds::FromLatLon(45.4375, 12.33549), {0.0, 0.0}, + MercatorBounds::FromLatLon(45.44057, 12.33393), 725.4); +}