diff options
-rw-r--r-- | routing/routing_integration_tests/routing_test_tools.cpp | 4 | ||||
-rw-r--r-- | routing/routing_integration_tests/turn_test.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/routing/routing_integration_tests/routing_test_tools.cpp b/routing/routing_integration_tests/routing_test_tools.cpp index 8609ed50f2..6482ed23e2 100644 --- a/routing/routing_integration_tests/routing_test_tools.cpp +++ b/routing/routing_integration_tests/routing_test_tools.cpp @@ -262,14 +262,14 @@ namespace integration const TestTurn & TestTurn::TestDirection(routing::turns::CarDirection expectedDirection) const { - TEST_EQUAL(m_direction, expectedDirection, ()); + TEST_EQUAL(m_direction, expectedDirection, (m_direction)); return *this; } const TestTurn & TestTurn::TestOneOfDirections( set<routing::turns::CarDirection> const & expectedDirections) const { - TEST(expectedDirections.find(m_direction) != expectedDirections.cend(), ()); + TEST(expectedDirections.find(m_direction) != expectedDirections.cend(), (m_direction)); return *this; } diff --git a/routing/routing_integration_tests/turn_test.cpp b/routing/routing_integration_tests/turn_test.cpp index fcecb1ac0f..ada6ff0147 100644 --- a/routing/routing_integration_tests/turn_test.cpp +++ b/routing/routing_integration_tests/turn_test.cpp @@ -358,6 +358,8 @@ UNIT_TEST(RussiaMoscowMKADLeningradkaTest) TEST_EQUAL(result, IRouter::NoError, ()); integration::TestTurnCount(route, 1 /* expectedTurnCount */); + integration::GetNthTurn(route, 0).TestValid().TestOneOfDirections( + {CarDirection::TurnSlightRight, CarDirection::TurnRight}); } UNIT_TEST(BelarusMKADShosseinai) |