Commit 874761d6 authored by hengwen's avatar hengwen

Test with 1 sector

parent a2900cf4
......@@ -16,7 +16,7 @@ public class SimulationServiceTest extends TestCase {
public void testSimulation() {
int scenarioID = ScenarioDAO.create("straight.sim", getClass().getResource("/straight.sim").getPath());
int mapID = MapDAO.create("straight.osm", getClass().getResource("/straight.osm").getPath());
int simID = SimulationDAO.create(scenarioID, 2);
int simID = SimulationDAO.create(scenarioID, 1);
SimulationService sim = new SimulationService(simID);
try {
sim.startSimulation(RegistryFactory.getDefaultRegistry());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment