diff --git a/src/test/java/org/matsim/run/RunOpenBerlinDrtScenarioTest.java b/src/test/java/org/matsim/run/RunOpenBerlinDrtScenarioTest.java new file mode 100644 index 000000000..43dadede1 --- /dev/null +++ b/src/test/java/org/matsim/run/RunOpenBerlinDrtScenarioTest.java @@ -0,0 +1,29 @@ +package org.matsim.run; + + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; +import org.matsim.application.MATSimApplication; +import org.matsim.testcases.MatsimTestUtils; + +import static org.assertj.core.api.Assertions.assertThat; + +public class RunOpenBerlinScenarioTest { + + @RegisterExtension + public MatsimTestUtils utils = new MatsimTestUtils(); + + @Test + public void pct1() { + + int code = MATSimApplication.execute(OpenBerlinScenario.class, + "--1pct", + "--output", utils.getOutputDirectory(), + "--iterations", "2", + "--config:simwrapper.defaultDashboards", "disabled" + ); + + assertThat(code).isEqualTo(0); + + } +} diff --git a/test/input/drt/berlin-v6.1.drt-test-config.xml b/test/input/drt/berlin-v6.1.drt-test-config.xml new file mode 100644 index 000000000..972c7b707 --- /dev/null +++ b/test/input/drt/berlin-v6.1.drt-test-config.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +