gdxapp4d/gdxapp4d-lib-warpme/src/test/java/love/distributedrebirth/warpme/ship/WaterDeviceDriverTest.java

31 lines
1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package love.distributedrebirth.warpme.ship;
import java.io.IOException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.x4o.xml.io.X4OConnectionException;
import org.xml.sax.SAXException;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class WaterDeviceDriverTest {
@Test
public void testWaterDevice() throws X4OConnectionException, SAXException, IOException {
WaterDevice device = new WaterDevice();
WaterShip ship = new WaterShip();
ship.setName("tos4-mark1");
ship.setEngine("123349858934");
ship.addWarpSea(new WaterShipWarp("2349058490584"));
ship.addWarpSea(new WaterShipWarp("7867834823244"));
ship.addWarpSea(new WaterShipWarp("3948758927389"));
device.buildShip(ship);
Assertions.assertNotNull(device);
WaterDeviceDriver.newInstance().createWriter().writeFile(device, new java.io.File("target/out-ship.xml"));
}
}