| 257 | } |
| 258 | |
| 259 | UNIT_TEST(RestrictionGenerationTest_1) |
| 260 | { |
| 261 | string osmIdsToFeatureIdsContent; |
| 262 | unique_ptr<IndexGraph> indexGraph; |
| 263 | tie(indexGraph, osmIdsToFeatureIdsContent) = BuildTwoCubeGraph(); |
| 264 | |
| 265 | string const restrictionPath = |
| 266 | /* Type ViaType ViaNodeCoords: x y from to */ |
| 267 | R"(Only, node, 1.0, 0.0, 0, 1)"; |
| 268 | |
| 269 | vector<Restriction> expectedNotUTurn = {{Restriction::Type::Only, {0, 1}}}; |
| 270 | vector<RestrictionUTurnForTests> expectedUTurn; |
| 271 | |
| 272 | TestRestrictionBuilding(restrictionPath, osmIdsToFeatureIdsContent, std::move(indexGraph), expectedNotUTurn, |
| 273 | expectedUTurn); |
| 274 | } |
| 275 | |
| 276 | UNIT_TEST(RestrictionGenerationTest_2) |
| 277 | { |
nothing calls this directly
no test coverage detected