| 538 | } |
| 539 | |
| 540 | void TestRestrictions(vector<m2::PointD> const & expectedRouteGeom, AlgorithmForWorldGraph::Result expectedRouteResult, |
| 541 | FakeEnding const & start, FakeEnding const & finish, RestrictionVec && restrictions, |
| 542 | RestrictionTest & restrictionTest) |
| 543 | { |
| 544 | restrictionTest.SetRestrictions(std::move(restrictions)); |
| 545 | restrictionTest.SetStarter(start, finish); |
| 546 | |
| 547 | TestRouteGeometry(*restrictionTest.m_starter, expectedRouteResult, expectedRouteGeom); |
| 548 | } |
| 549 | |
| 550 | void TestRestrictions(vector<m2::PointD> const & expectedRouteGeom, AlgorithmForWorldGraph::Result expectedRouteResult, |
| 551 | FakeEnding const & start, FakeEnding const & finish, RestrictionVec && restrictions, |
no test coverage detected