| 52 | } |
| 53 | |
| 54 | UNIT_TEST(AStarRouter_Graph2_Simple1) |
| 55 | { |
| 56 | geometry::PointWithAltitude const startPos = geometry::MakePointWithAltitudeForTesting(m2::PointD(0, 0)); |
| 57 | geometry::PointWithAltitude const finalPos = geometry::MakePointWithAltitudeForTesting(m2::PointD(80, 55)); |
| 58 | |
| 59 | vector<geometry::PointWithAltitude> const expected = {geometry::MakePointWithAltitudeForTesting(m2::PointD(0, 0)), |
| 60 | geometry::MakePointWithAltitudeForTesting(m2::PointD(5, 10)), |
| 61 | geometry::MakePointWithAltitudeForTesting(m2::PointD(5, 40)), |
| 62 | geometry::MakePointWithAltitudeForTesting(m2::PointD(18, 55)), |
| 63 | geometry::MakePointWithAltitudeForTesting(m2::PointD(39, 55)), |
| 64 | geometry::MakePointWithAltitudeForTesting(m2::PointD(80, 55))}; |
| 65 | |
| 66 | TestAStarRouterMock(startPos, finalPos, expected); |
| 67 | } |
| 68 | |
| 69 | UNIT_TEST(AStarRouter_Graph2_Simple2) |
| 70 | { |
nothing calls this directly
no test coverage detected