[routing] Fixed turn test.

This commit is contained in:
VladiMihaylenko 2019-03-04 13:26:24 +03:00
parent 6a9a984c70
commit 53f52b556c

View file

@ -556,10 +556,8 @@ UNIT_TEST(RussiaTiinskTest)
RouterResultCode const result = routeResult.second;
TEST_EQUAL(result, RouterResultCode::NoError, ());
integration::TestTurnCount(route, 2 /* expectedTurnCount */);
integration::TestTurnCount(route, 1 /* expectedTurnCount */);
integration::GetNthTurn(route, 0).TestValid().TestOneOfDirections(
{CarDirection::TurnSlightRight, CarDirection::TurnRight});
integration::GetNthTurn(route, 1).TestValid().TestOneOfDirections(
{CarDirection::TurnSlightLeft, CarDirection::TurnLeft});
}