7a16dbb980ad — Quintillus 8 months ago
Add a test for Sengoku, which only has one spaceship part.
1 files changed, 6 insertions(+), 0 deletions(-)

M src/test/java/com/civfanatics/civ3/xplatformeditor/IOTest.java
M src/test/java/com/civfanatics/civ3/xplatformeditor/IOTest.java +6 -0
@@ 572,6 572,12 @@ public class IOTest {
         assertTrue(io.inputBIQ(new File("src/test/java/com/civfanatics/civ3/xplatformeditor/5 Mesoamerica.biq")));
         testSaveAndOpen();
     }
+    
+    @Test
+    public void testFewerThanTenSpaceshipParts() throws FileNotFoundException {
+        assertTrue(io.inputBIQ(new File("src/test/java/com/civfanatics/civ3/xplatformeditor/7 MP Sengoku - Sword of the Shogun.biq")));
+        testSaveAndOpen();
+    }
 
     private void testSaveAndOpen() throws FileNotFoundException {
         File output = new File("output.biq");