Skip to content

Commit

Permalink
feat: Testing Epsilon features
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarek Chouaki committed Feb 5, 2024
1 parent 841229e commit a3d9856
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/src/test/java/org/eqasim/TestSimulationPipeline.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.eqasim.core.simulation.analysis.EqasimAnalysisModule;
import org.eqasim.core.simulation.mode_choice.AbstractEqasimExtension;
import org.eqasim.core.simulation.mode_choice.EqasimModeChoiceModule;
import org.eqasim.core.simulation.mode_choice.epsilon.AdaptConfigForEpsilon;
import org.eqasim.core.simulation.mode_choice.parameters.ModeParameters;
import org.eqasim.core.tools.*;
import org.eqasim.core.simulation.modes.drt.utils.AdaptConfigForDrt;
Expand Down Expand Up @@ -193,6 +194,16 @@ public void testDrt() throws MalformedURLException, CommandLine.ConfigurationExc
runMelunSimulation("melun_test/input/config_drt.xml", "melun_test/output_drt", List.of("drt_a", "drt_b"));
}

@Test
public void testEpsilon() throws CommandLine.ConfigurationException {
AdaptConfigForEpsilon.main(new String[] {
"--input-config-path", "melun_test/input/config.xml",
"--output-config-path", "melun_test/input/config_epsilon.xml"
});

runMelunSimulation("melun_test/input/config_epsilon.xml", "melun_test/output_epsilon", Collections.emptyList());
}

@Test
public void testPipeline() throws Exception {
runMelunSimulation("melun_test/input/config.xml", "melun_test/output", Collections.emptyList());
Expand Down

0 comments on commit a3d9856

Please sign in to comment.