From 62274d13e1698912cfc8ef06d6a1075ff38e933f Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Wed, 30 Aug 2017 16:56:07 +0300 Subject: [PATCH] Integration test on a wrong coordinate of the start point of the start segment. --- routing/routing_integration_tests/osrm_route_test.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/routing/routing_integration_tests/osrm_route_test.cpp b/routing/routing_integration_tests/osrm_route_test.cpp index 273698e649..0f749d70f9 100644 --- a/routing/routing_integration_tests/osrm_route_test.cpp +++ b/routing/routing_integration_tests/osrm_route_test.cpp @@ -183,6 +183,13 @@ namespace MercatorBounds::FromLatLon(50.93227, 1.82725), 60498.); } + UNIT_TEST(RussiaMoscowStartAtTwowayFeatureTest) + { + integration::CalculateRouteAndTestRouteLength( + integration::GetOsrmComponents(), MercatorBounds::FromLatLon(55.771, 37.5184), {0., 0.}, + MercatorBounds::FromLatLon(55.7718, 37.5178), 147.4); + } + // Strange map edits in Africa borders. Routing not linked now. /* UNIT_TEST(RussiaMoscowLenigradskiy39RepublicOfSouthAfricaCapeTownCenterRouteTest)