mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
Merge branches '6.0' and 'master' of https://github.com/Anuken/Mindustry into 6.0
# Conflicts: # core/assets/sprites/block_colors.png # core/assets/sprites/sprites.atlas # core/assets/sprites/sprites.png # core/assets/sprites/sprites3.png # core/assets/sprites/sprites5.png # core/src/io/anuke/mindustry/graphics/Shaders.java # gradle.properties
This commit is contained in:
commit
78f146fbcf
178 changed files with 4412 additions and 1699 deletions
|
|
@ -60,6 +60,7 @@ public class ApplicationTests{
|
|||
super.init();
|
||||
begins[0] = true;
|
||||
testMap = maps.loadInternalMap("groundZero");
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -212,15 +213,24 @@ public class ApplicationTests{
|
|||
}
|
||||
|
||||
@Test
|
||||
void loadOldSave(){
|
||||
void load77Save(){
|
||||
resetWorld();
|
||||
SaveIO.load(Core.files.internal("build77.msav"));
|
||||
SaveIO.load(Core.files.internal("77.msav"));
|
||||
|
||||
//just tests if the map was loaded properly and didn't crash, no validity checks currently
|
||||
assertEquals(276, world.width());
|
||||
assertEquals(10, world.height());
|
||||
}
|
||||
|
||||
@Test
|
||||
void load85Save(){
|
||||
resetWorld();
|
||||
SaveIO.load(Core.files.internal("85.msav"));
|
||||
|
||||
assertEquals(250, world.width());
|
||||
assertEquals(300, world.height());
|
||||
}
|
||||
|
||||
@Test
|
||||
void arrayIterators(){
|
||||
Array<String> arr = Array.with("a", "b" , "c", "d", "e", "f");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue