Certain team-specific rules

This commit is contained in:
Anuken
2020-06-15 12:00:32 -04:00
parent 90b0650af9
commit b5660a50ca
61 changed files with 291 additions and 237 deletions

View File

@@ -492,8 +492,8 @@ public class ApplicationTests{
d1.set(0f, 0f);
d2.set(20f, 20f);
d1.addBuild(new BuildRequest(0, 0, 0, Blocks.copperWallLarge));
d2.addBuild(new BuildRequest(1, 1, 0, Blocks.copperWallLarge));
d1.addBuild(new BuildPlan(0, 0, 0, Blocks.copperWallLarge));
d2.addBuild(new BuildPlan(1, 1, 0, Blocks.copperWallLarge));
d1.update();
d2.update();
@@ -514,8 +514,8 @@ public class ApplicationTests{
d1.set(10f, 20f);
d2.set(10f, 20f);
d1.addBuild(new BuildRequest(0, 0, 0, Blocks.copperWallLarge));
d2.addBuild(new BuildRequest(1, 1));
d1.addBuild(new BuildPlan(0, 0, 0, Blocks.copperWallLarge));
d2.addBuild(new BuildPlan(1, 1));
Time.setDeltaProvider(() -> 3f);
d1.update();
@@ -532,7 +532,7 @@ public class ApplicationTests{
assertEquals(Blocks.copperWallLarge, world.tile(1, 1).block());
d2.clearBuilding();
d2.addBuild(new BuildRequest(1, 1));
d2.addBuild(new BuildPlan(1, 1));
d2.update();
assertEquals(Blocks.air, world.tile(0, 0).block());

View File

@@ -10,11 +10,6 @@ import static org.junit.jupiter.api.Assertions.*;
public class IOTests{
@Test
void writeEntities(){
//TODO
}
@Test
void writeEnglish(){
ByteBuffer buffer = ByteBuffer.allocate(500);