Test fixes
This commit is contained in:
@@ -523,6 +523,9 @@ public class ApplicationTests{
|
||||
|
||||
Time.setDeltaProvider(() -> 9999f);
|
||||
|
||||
//prevents range issues
|
||||
state.rules.infiniteResources = true;
|
||||
|
||||
d1.update();
|
||||
|
||||
assertEquals(Blocks.copperWallLarge, world.tile(0, 0).block());
|
||||
@@ -530,7 +533,10 @@ public class ApplicationTests{
|
||||
|
||||
d2.clearBuilding();
|
||||
d2.addBuild(new BuildPlan(1, 1));
|
||||
d2.update();
|
||||
|
||||
for(int i = 0; i < 3; i++){
|
||||
d2.update();
|
||||
}
|
||||
|
||||
assertEquals(Blocks.air, world.tile(0, 0).block());
|
||||
assertEquals(Blocks.air, world.tile(2, 2).block());
|
||||
|
||||
Reference in New Issue
Block a user