Commit a928caf2 authored by Georgios Dagkakis's avatar Georgios Dagkakis

test added for the example

parent f003c714
...@@ -220,4 +220,9 @@ class SimulationExamples(TestCase): ...@@ -220,4 +220,9 @@ class SimulationExamples(TestCase):
from dream.simulation.Examples.CompoundMachine import main from dream.simulation.Examples.CompoundMachine import main
result = main(test=1) result = main(test=1)
self.assertTrue(5.8 < result < 5.9) self.assertTrue(5.8 < result < 5.9)
def testJobShop2ScenarioAnalysis(self):
from dream.simulation.Examples.JobShop2ScenarioAnalysis import main
result = main(test=1)
self.assertEquals(result, 2)
\ No newline at end of file
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