Route through XX graph without any traffic info.
| 124 | |
| 125 | // Route through XX graph without any traffic info. |
| 126 | UNIT_CLASS_TEST(ApplyingTrafficTest, XXGraph_EmptyTrafficColoring) |
| 127 | { |
| 128 | TEST(!GetTrafficStash()->Has(kTestNumMwmId), ()); |
| 129 | |
| 130 | unique_ptr<WorldGraph> graph = BuildXXGraph(GetEstimator()); |
| 131 | auto const start = MakeFakeEnding(9 /* featureId */, 0 /* segmentIdx */, m2::PointD(2.0, -1.0), *graph); |
| 132 | auto const finish = MakeFakeEnding(6, 0, m2::PointD(3.0, 3.0), *graph); |
| 133 | auto starter = MakeStarter(start, finish, *graph); |
| 134 | vector<m2::PointD> const expectedGeom = {{2 /* x */, -1 /* y */}, {2, 0}, {1, 1}, {2, 2}, {3, 3}}; |
| 135 | TestRouteGeometry(*starter, Algorithm::Result::OK, expectedGeom); |
| 136 | } |
| 137 | |
| 138 | // Route through XX graph with SpeedGroup::G0 on F3. |
| 139 | UNIT_CLASS_TEST(ApplyingTrafficTest, XXGraph_G0onF3) |
nothing calls this directly
no test coverage detected