Commit 8b2055c2 authored by Georgios Dagkakis's avatar Georgios Dagkakis

test added for the new example (relaxed due to stochasticity)

parent 6ed56fea
......@@ -225,4 +225,9 @@ class SimulationExamples(TestCase):
from dream.simulation.Examples.JobShop2ScenarioAnalysis import main
result = main(test=1)
self.assertEquals(result, 2)
def testBufferAllocation(self):
from dream.simulation.Examples.BufferAllocation import main
result = main(test=1)
self.assertTrue(80 < result["parts"] < 1000)
\ 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