@Test public void parseDropshuttleBay() { Bay bay = new DropshuttleBay(1, -1, Jumpship.LOC_AFT); ParsedBayInfo pbi = new BLKFile.ParsedBayInfo(getBayNumbers(bay), new HashSet<>()); assertEquals(pbi.getDoors(), 1); assertEquals(pbi.getBayNumber(), 1); assertEquals(pbi.getFacing(), Jumpship.LOC_AFT); }
String numbers = transporter.substring("dropshuttlebay:".length()); ParsedBayInfo pbi = new ParsedBayInfo(numbers, usedBayNumbers); e.addTransporter(new DropshuttleBay(pbi.getDoors(), pbi.getBayNumber(), pbi.getFacing())); } else if (transporter.startsWith("navalrepairpressurized:")) { String numbers = transporter.substring("navalrepairpressurized:".length());