a9723a8a8777 — Quintillus 8 months ago
Add a five culture level test (versus the six that are standard).

Also update .hgignore b/c there's way too much that isn't committed, mostly config files.  Still could use improvement.
2 files changed, 16 insertions(+), 1 deletions(-)

M .hgignore
M src/test/java/com/civfanatics/civ3/xplatformeditor/IOTest.java
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");