M .hgignore +10 -1
@@ 4,6 4,14 @@
\.orig\..*$
\.orig$
\*.biq$
+^bin/7z*/*$
+^bin/7z920/*$
+^bin/7z1604/*$
+^bin/7z1801/*$
+^build/*$
+^.idea/*$
+^jre1.8_111/*$
+^out/*$
^test/com/civfanatics/civ3/xplatformeditor/Custom All\.biq$
^test/com/civfanatics/civ3/xplatformeditor/Custom None\.biq$
^test/com/civfanatics/civ3/xplatformeditor/Custom Map Only\.biq$
@@ 16,4 24,5 @@
^HGIGNORE_BACKUP$
\.class$
\.biq$
-\.log
No newline at end of file
+\.log
+log.txt
No newline at end of file
M src/test/java/com/civfanatics/civ3/xplatformeditor/IOTest.java +6 -0
@@ 578,6 578,12 @@ public class IOTest {
assertTrue(io.inputBIQ(new File("src/test/java/com/civfanatics/civ3/xplatformeditor/7 MP Sengoku - Sword of the Shogun.biq")));
testSaveAndOpen();
}
+
+ @Test
+ public void testFewerThanSixCultureLevels() throws FileNotFoundException {
+ assertTrue(io.inputBIQ(new File("src/test/java/com/civfanatics/civ3/xplatformeditor/Five Culture Levels.biq")));
+ testSaveAndOpen();
+ }
private void testSaveAndOpen() throws FileNotFoundException {
File output = new File("output.biq");