Test fixes

This commit is contained in:
Anuken 2020-08-13 20:28:36 -04:00
parent 1d95980066
commit 73dd7ba21a
7 changed files with 52 additions and 36 deletions

View file

@ -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());