diff options
Diffstat (limited to 'tests/test_enemies.py')
-rw-r--r-- | tests/test_enemies.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_enemies.py b/tests/test_enemies.py index aaf2b0c..315de88 100644 --- a/tests/test_enemies.py +++ b/tests/test_enemies.py @@ -25,4 +25,9 @@ class TestEnemies(unittest.TestCase): def test_right_amount_of_enemies(self): enemies = Enemies(count = 6) - self.assertEqual(6, len(enemies.sprites()))
\ No newline at end of file + self.assertEqual(6, len(enemies.sprites())) + + def test_update_notcrashing(self): + enemies = Enemies(count = 6) + for _ in range(10000): + enemies.update(dt=100) |