From 82fa45660cace8f7a9c26a57ae254a1eef9b68b4 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Mon, 29 Oct 2018 11:17:42 +0300 Subject: [PATCH] Fixing routing integration tests for map 18.10.19 --- routing/routing_integration_tests/route_test.cpp | 2 +- routing/routing_integration_tests/turn_test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routing/routing_integration_tests/route_test.cpp b/routing/routing_integration_tests/route_test.cpp index ff280e180b..9b657319e7 100644 --- a/routing/routing_integration_tests/route_test.cpp +++ b/routing/routing_integration_tests/route_test.cpp @@ -300,7 +300,7 @@ namespace CHECK(routeResult.first, ()); Route const & route = *routeResult.first; - integration::TestRouteTime(route, 15001.2); + integration::TestRouteTime(route, 15246.6); } UNIT_TEST(RussiaMoscowLenigradskiy39GeroevPanfilovtsev22TimeTest) diff --git a/routing/routing_integration_tests/turn_test.cpp b/routing/routing_integration_tests/turn_test.cpp index 0f81c128a4..7f8c2832ee 100644 --- a/routing/routing_integration_tests/turn_test.cpp +++ b/routing/routing_integration_tests/turn_test.cpp @@ -372,7 +372,7 @@ UNIT_TEST(BelarusMKADShosseinai) // Test case: a route goes straight along a big road when joined small road. // An end user shall not be informed about such manoeuvres. -// But at the and of the route an end user shall be informed about junction of two big roads. +// But at the end of the route an end user shall be informed about junction of two big roads. UNIT_TEST(ThailandPhuketNearPrabarameeRoad) { TRouteResult const routeResult = @@ -385,7 +385,7 @@ UNIT_TEST(ThailandPhuketNearPrabarameeRoad) TEST_EQUAL(result, RouterResultCode::NoError, ()); integration::TestTurnCount(route, 1 /* expectedTurnCount */); - integration::GetNthTurn(route, 0).TestValid().TestDirection(CarDirection::GoStraight); + integration::GetNthTurn(route, 0).TestValid().TestDirection(CarDirection::ExitHighwayToLeft); } // Test case: a route goes in Moscow from Varshavskoe shosse (from the city center direction)