| Conditions | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from synergine.test.TestSimulation import TestSimulation as BaseTestSimulation |
||
| 14 | def test_cycles_callbacks(self): |
||
| 15 | self._connection.receive_callback = self._cycle_callback |
||
| 16 | |||
| 17 | self._callback_call_count = -1 |
||
| 18 | core = self.get_core(5) |
||
| 19 | core.run() |
||
| 20 | |||
| 21 | self.assertEquals(5, self._callback_call_count) |
||
| 22 | |||
| 26 |