Removed pointless test

This commit is contained in:
Anuken 2023-09-03 11:37:43 -04:00
parent 9c23134f2a
commit 26c54ae0ed

View File

@ -15,7 +15,6 @@ import mindustry.ctype.*;
import mindustry.entities.units.*; import mindustry.entities.units.*;
import mindustry.game.*; import mindustry.game.*;
import mindustry.gen.*; import mindustry.gen.*;
import mindustry.graphics.g3d.*;
import mindustry.io.*; import mindustry.io.*;
import mindustry.io.SaveIO.*; import mindustry.io.SaveIO.*;
import mindustry.maps.*; import mindustry.maps.*;
@ -23,7 +22,6 @@ import mindustry.mod.*;
import mindustry.mod.Mods.*; import mindustry.mod.Mods.*;
import mindustry.net.*; import mindustry.net.*;
import mindustry.net.Packets.*; import mindustry.net.Packets.*;
import mindustry.service.*;
import mindustry.type.*; import mindustry.type.*;
import mindustry.world.*; import mindustry.world.*;
import mindustry.world.blocks.payloads.*; import mindustry.world.blocks.payloads.*;
@ -983,16 +981,4 @@ public class ApplicationTests{
tile.build.handleStack(item, 1, unit); tile.build.handleStack(item, 1, unit);
assertEquals(capacity, tile.build.items.get(item)); assertEquals(capacity, tile.build.items.get(item));
} }
@Test
void achievementTest(){
clientLoaded = true;
state.rules.sector = new Sector(null, PlanetGrid.Ptile.empty);
player = Player.create();
service.init();
assertFalse(Achievement.buildT5.isAchieved());
Events.fire(new EventType.UnitCreateEvent(UnitTypes.eclipse.create(Team.sharded), null));
assertTrue(Achievement.buildT5.isAchieved());
}
} }