From 8d61c7447b8850fbaae7728e044c1c9df12e8c40 Mon Sep 17 00:00:00 2001 From: Viktor Govako Date: Tue, 5 Aug 2025 22:12:39 -0300 Subject: [PATCH] [routing][tests] Added "agricultural" roads test. Signed-off-by: Viktor Govako --- libs/routing/routing_integration_tests/route_test.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/routing/routing_integration_tests/route_test.cpp b/libs/routing/routing_integration_tests/route_test.cpp index 14aaf1d83..12a0aae64 100644 --- a/libs/routing/routing_integration_tests/route_test.cpp +++ b/libs/routing/routing_integration_tests/route_test.cpp @@ -890,4 +890,11 @@ UNIT_TEST(Norway_FauxOneway_MotorVehicleBackward_No) {0., 0.}, FromLatLon(59.921042, 10.759302), 210); } +// https://github.com/organicmaps/organicmaps/issues/9620 +UNIT_TEST(Germany_Avoid_Agricultural) +{ + CalculateRouteAndTestRouteLength(GetVehicleComponents(VehicleType::Car), FromLatLon(47.6584463, 11.038139), {0., 0.}, + FromLatLon(47.6580109, 11.0432625), 1096.11); +} + } // namespace route_test