| 26 | } |
| 27 | |
| 28 | FakeVertex GetFakeVertex(uint32_t index) |
| 29 | { |
| 30 | auto const indexCoord = static_cast<double>(index); |
| 31 | LatLonWithAltitude const coord({indexCoord, indexCoord}, 0 /* altitude */); |
| 32 | // FakeVertex(NumMwmId numMwmId, LatLonWithAltitude const & from, |
| 33 | // LatLonWithAltitude const & to, Type type) |
| 34 | return FakeVertex(0 /* mwmId */, coord, coord, FakeVertex::Type::PureFake); |
| 35 | } |
| 36 | |
| 37 | // Constructs simple fake graph where vertex (i + 1) is child of vertex (i) with |numFake| fake |
| 38 | // vertices and |numReal| real vertices. Checks vertex-to-segment, segment-to-vertex, fake-to-real, |
no test coverage detected