More tests for saves
This commit is contained in:
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=cde6d76804
|
archash=8d3f84b3c5
|
||||||
|
|||||||
@@ -662,6 +662,17 @@ public class ApplicationTests{
|
|||||||
assertEquals(414, world.height());
|
assertEquals(414, world.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void load152Save(){
|
||||||
|
resetWorld();
|
||||||
|
SaveIO.load(Core.files.internal("152.msav"));
|
||||||
|
|
||||||
|
assertTrue(Groups.unit.contains(u -> u.type == UnitTypes.scepter));
|
||||||
|
|
||||||
|
assertEquals(2000, world.width());
|
||||||
|
assertEquals(195, world.height());
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void arrayIterators(){
|
void arrayIterators(){
|
||||||
Seq<String> arr = Seq.with("a", "b" , "c", "d", "e", "f");
|
Seq<String> arr = Seq.with("a", "b" , "c", "d", "e", "f");
|
||||||
|
|||||||
BIN
tests/src/test/resources/152.msav
Normal file
BIN
tests/src/test/resources/152.msav
Normal file
Binary file not shown.
Reference in New Issue
Block a user