Archived
0
This commit is contained in:
Mo
2016-11-19 16:39:44 +03:00
parent a9aabc26c4
commit 67dfed1fe5

View File

@@ -21,6 +21,7 @@ public class PPImportTest extends Assert {
public void testImportSystems() throws Exception { public void testImportSystems() throws Exception {
InputStream is = getClass().getResourceAsStream("/world.xml"); InputStream is = getClass().getResourceAsStream("/world.xml");
Market market = Store.loadFromFile(is); Market market = Store.loadFromFile(is);
market.get().forEach(p -> p.setPopulation(1));
Place opala = market.get("Opala"); Place opala = market.get("Opala");
Place aulin = market.get("Aulin"); Place aulin = market.get("Aulin");
Place draconis = market.get("26 Draconis"); Place draconis = market.get("26 Draconis");