| 59 | LegacyScene TileElementWantsFootpathConnection::_gLegacyScene; |
| 60 | |
| 61 | TEST_F(TileElementWantsFootpathConnection, FlatPath) |
| 62 | { |
| 63 | // Flat paths want to connect to other paths in any direction |
| 64 | const auto* pathElement = MapGetFootpathElement(TileCoordsXYZ{ 19, 18, 14 }.ToCoordsXYZ()); |
| 65 | ASSERT_NE(pathElement, nullptr); |
| 66 | EXPECT_TRUE(TileElementWantsPathConnectionTowards({ 19, 18, 14, 0 }, nullptr)); |
| 67 | EXPECT_TRUE(TileElementWantsPathConnectionTowards({ 19, 18, 14, 1 }, nullptr)); |
| 68 | EXPECT_TRUE(TileElementWantsPathConnectionTowards({ 19, 18, 14, 2 }, nullptr)); |
| 69 | EXPECT_TRUE(TileElementWantsPathConnectionTowards({ 19, 18, 14, 3 }, nullptr)); |
| 70 | SUCCEED(); |
| 71 | } |
| 72 | |
| 73 | TEST_F(TileElementWantsFootpathConnection, SlopedPath) |
| 74 | { |
nothing calls this directly
no test coverage detected