From 7ae4d5536132218779c738fb730d2fa44ecd843d Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Tue, 1 Aug 2017 16:16:07 +0300 Subject: [PATCH] [routing] Routing test fix --- routing/routing_tests/route_tests.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing/routing_tests/route_tests.cpp b/routing/routing_tests/route_tests.cpp index 463bd242fd..1e86dfdc66 100644 --- a/routing/routing_tests/route_tests.cpp +++ b/routing/routing_tests/route_tests.cpp @@ -228,6 +228,10 @@ UNIT_TEST(SelfIntersectedRouteMatchingTest) Route route("TestRouter"); route.SetGeometry(kRouteGeometry.begin(), kRouteGeometry.end()); + + vector routeSegments; + GetTestRouteSegments(kRouteGeometry, kTestTurns2, kTestNames2, kTestTimes2, routeSegments); + route.SetRouteSegments(routeSegments); auto const testMachedPos = [&](location::GpsInfo const & pos, location::GpsInfo const & expectedMatchingPos,