We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c34e74 commit 604b756Copy full SHA for 604b756
1 file changed
tests/test.cpp
@@ -65,8 +65,6 @@ TEST_CASE_METHOD(OpenDriveFixture, "Routing check", "[xodr]")
65
for (const odr::RoutingPath& expected_path : expected_paths)
66
{
67
const odr::RoutingPath path = graph.shortest_path(expected_path.front(), expected_path.back());
68
- REQUIRE(path.size() == expected_path.size());
69
- for (size_t idx = 0; idx < expected_path.size(); idx++)
70
- REQUIRE(path[idx] == expected_path[idx]);
+ REQUIRE(path == expected_path);
71
}
72
0 commit comments