Commit a928caf2 authored by Georgios Dagkakis's avatar Georgios Dagkakis

test added for the example

parent f003c714
...@@ -221,3 +221,8 @@ class SimulationExamples(TestCase): ...@@ -221,3 +221,8 @@ class SimulationExamples(TestCase):
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