| 24 | CarTest() : RoutingTest(routing::IRoadGraph::Mode::ObeyOnewayTag, routing::VehicleType::Car, kCarMapFiles) {} |
| 25 | |
| 26 | void TestCarRouter(ms::LatLon const & start, ms::LatLon const & final, size_t reiterations) |
| 27 | { |
| 28 | routing::Route routeFoundByAstarBidirectional("", 0 /* route id */); |
| 29 | auto router = CreateRouter("test-astar-bidirectional"); |
| 30 | |
| 31 | m2::PointD const startMerc = mercator::FromLatLon(start); |
| 32 | m2::PointD const finalMerc = mercator::FromLatLon(final); |
| 33 | for (size_t i = 0; i < reiterations; ++i) |
| 34 | TestRouter(*router, startMerc, finalMerc, routeFoundByAstarBidirectional); |
| 35 | } |
| 36 | |
| 37 | protected: |
| 38 | std::unique_ptr<routing::VehicleModelFactoryInterface> CreateModelFactory() override |
nothing calls this directly
no test coverage detected