| 58 | } |
| 59 | |
| 60 | void TestGeometryLoader::AddRoad(uint32_t featureId, bool oneWay, float speed, RoadGeometry::Points const & points) |
| 61 | { |
| 62 | auto const it = m_roads.find(featureId); |
| 63 | CHECK(it == m_roads.end(), ("Already contains feature", featureId)); |
| 64 | m_roads[featureId] = RoadGeometry(oneWay, speed, speed, points); |
| 65 | m_roads[featureId].SetPassThroughAllowedForTests(true); |
| 66 | } |
| 67 | |
| 68 | void TestGeometryLoader::SetPassThroughAllowed(uint32_t featureId, bool passThroughAllowed) |
| 69 | { |