mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Cleanup
This commit is contained in:
parent
be0b13e27d
commit
df1a102021
12 changed files with 208 additions and 150 deletions
|
|
@ -32,12 +32,14 @@ public class ZoneTests{
|
|||
Array<DynamicTest> out = new Array<>();
|
||||
if(world == null) world = new World();
|
||||
|
||||
fail("Zone validity tests need to be refactored!");
|
||||
|
||||
for(Zone zone : content.zones()){
|
||||
out.add(dynamicTest(zone.name, () -> {
|
||||
zone.generator.init(zone.loadout);
|
||||
logic.reset();
|
||||
try{
|
||||
world.loadGenerator(zone.generator);
|
||||
//world.loadGenerator(zone.generator);
|
||||
}catch(SaveException e){
|
||||
e.printStackTrace();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue