Commit 3ced8e74 authored by Georgios Dagkakis's avatar Georgios Dagkakis

new example added to tests

parent b68fe698
......@@ -182,4 +182,10 @@ class SimulationExamples(TestCase):
result = main()
self.assertEquals(result['parts'], 2)
self.assertEquals(result['simulationTime'], 0.35)
self.assertEquals(result["working_ratio"], 100)
\ No newline at end of file
self.assertEquals(result["working_ratio"], 100)
def testBalancingABuffer(self):
from dream.simulation.Examples.BalancingABuffer import main
result = main()
self.assertEquals(result['parts'], 13)
self.assertEquals(result["working_ratio"], 80)
\ 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