Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2019-04-11 18:48:55 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2019-04-19 14:35:05 +0300
commitd74da60b83a95a9d5569abfc86407d82c6d92368 (patch)
treef22173e0cdbb2769caaf48bc69dbf1cec31b9616 /routing
parent7933c3beb040b713598b80952b2803f9a7c1a3f3 (diff)
[routing] Increased weightspeed for primary roads in pedestrian mode.
Diffstat (limited to 'routing')
-rw-r--r--routing/routing_integration_tests/pedestrian_route_test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/routing/routing_integration_tests/pedestrian_route_test.cpp b/routing/routing_integration_tests/pedestrian_route_test.cpp
index 02d6aa4fd5..f9b25ab054 100644
--- a/routing/routing_integration_tests/pedestrian_route_test.cpp
+++ b/routing/routing_integration_tests/pedestrian_route_test.cpp
@@ -523,3 +523,12 @@ UNIT_TEST(RussiaElbrusPriut11)
MercatorBounds::FromLatLon(43.35254, 42.43788), {0., 0.},
MercatorBounds::FromLatLon(43.31475, 42.46035), 5998.61 /* expectedTimeSeconds */);
}
+
+// Test on going straight forward on primary road.
+UNIT_TEST(BudvaPrimaryRoad)
+{
+ integration::CalculateRouteAndTestRouteLength(
+ integration::GetVehicleComponents<VehicleType::Pedestrian>(),
+ MercatorBounds::FromLatLon(42.2884527, 18.8456794), {0., 0.},
+ MercatorBounds::FromLatLon(42.2880575, 18.8492896), 368.85);
+}