From 33c525de3fa2a533ce6befb8051095da5f59a4ed Mon Sep 17 00:00:00 2001 From: Olga Khlopkova Date: Tue, 20 Oct 2020 14:43:46 +0300 Subject: [PATCH] [routing] Integration tests update for pedestrian turns from RoutingSettings. --- .../routing_integration_tests/pedestrian_route_test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/routing/routing_integration_tests/pedestrian_route_test.cpp b/routing/routing_integration_tests/pedestrian_route_test.cpp index e272552ec3..e413e86d0d 100644 --- a/routing/routing_integration_tests/pedestrian_route_test.cpp +++ b/routing/routing_integration_tests/pedestrian_route_test.cpp @@ -418,11 +418,12 @@ UNIT_TEST(RussiaMoscowHydroprojectBridgeCrossing) std::vector t; route.GetTurnsForTesting(t); - TEST_EQUAL(t.size(), 3, ()); + TEST_EQUAL(t.size(), 4, ()); TEST_EQUAL(t[0].m_pedestrianTurn, PedestrianDirection::TurnLeft, ()); - TEST_EQUAL(t[1].m_pedestrianTurn, PedestrianDirection::TurnRight, ()); - TEST_EQUAL(t[2].m_pedestrianTurn, PedestrianDirection::ReachedYourDestination, ()); + TEST_EQUAL(t[1].m_pedestrianTurn, PedestrianDirection::TurnLeft, ()); + TEST_EQUAL(t[2].m_pedestrianTurn, PedestrianDirection::TurnRight, ()); + TEST_EQUAL(t[3].m_pedestrianTurn, PedestrianDirection::ReachedYourDestination, ()); } UNIT_TEST(BelarusMinskRenaissanceHotelUndergroundCross)