forked from organicmaps/organicmaps
[routing] Fixed turn test.
This commit is contained in:
parent
6a9a984c70
commit
53f52b556c
1 changed files with 1 additions and 3 deletions
|
@ -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});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue