Internally renamed all maps to match sector name / Added unit tests to check for item/power sources

This commit is contained in:
Anuken
2026-03-19 12:18:34 -04:00
parent f989f5609c
commit 30777e314e
76 changed files with 10 additions and 1 deletions

View File

@@ -963,6 +963,11 @@ public class ApplicationTests{
}
}
assertFalse(Vars.indexer.isBlockPresent(Blocks.powerSource), "Sector '" + zone + "' must not have power sources.");
assertFalse(Vars.indexer.isBlockPresent(Blocks.powerVoid), "Sector '" + zone + "' must not have power voids.");
assertFalse(Vars.indexer.isBlockPresent(Blocks.itemSource), "Sector '" + zone + "' must not have item sources.");
assertFalse(Vars.indexer.isBlockPresent(Blocks.liquidSource), "Sector '" + zone + "' must not have liquid sources.");
assertEquals(1, Team.sharded.cores().size, "Sector must have one core: " + zone + " (" + Team.sharded.cores() + ")");
assertTrue(hasSpawnPoint, "Sector \"" + zone.name + "\" has no spawn points.");