mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Removed pointless test
This commit is contained in:
parent
9c23134f2a
commit
26c54ae0ed
@ -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());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user