Route through flag graph without any restrictions.
| 401 | |
| 402 | // Route through flag graph without any restrictions. |
| 403 | UNIT_TEST(FlagGraph) |
| 404 | { |
| 405 | unique_ptr<WorldGraph> graph = BuildFlagGraph(); |
| 406 | auto starter = MakeStarter(MakeFakeEnding(0 /* featureId */, 0 /* segmentIdx */, m2::PointD(2, 0), *graph), |
| 407 | MakeFakeEnding(6, 0, m2::PointD(0.5, 1), *graph), *graph); |
| 408 | vector<m2::PointD> const expectedGeom = {{2 /* x */, 0 /* y */}, {1, 0}, {1, 1}, {0.5, 1}}; |
| 409 | TestRouteGeometry(*starter, Algorithm::Result::OK, expectedGeom); |
| 410 | } |
| 411 | |
| 412 | // Route through flag graph with one restriciton (type no) from F0 to F3. |
| 413 | UNIT_CLASS_TEST(RestrictionTest, FlagGraph_RestrictionF0F3No) |
nothing calls this directly
no test coverage detected