diff options
| author | yuzu-eva <stevenhu@web.de> | 2024-11-11 18:22:08 +0100 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2024-11-11 18:22:08 +0100 |
| commit | 1d274a70cb53092497c6986a231f5d7bf367841d (patch) | |
| tree | e5ee539c4e846a02e2962d41f04b318a5b8c4c0a /tests.py | |
| parent | 7abdccd59f1bdb831cd2a8f6c92ad1e99f2eb5de (diff) | |
Diffstat (limited to 'tests.py')
| -rwxr-xr-x | tests.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests.py b/tests.py deleted file mode 100755 index f233699..0000000 --- a/tests.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python - -import unittest - -from maze import Maze - -class Tests(unittest.TestCase): - def test_maze_create_cells(self): - num_cols = 12 - num_rows = 10 - m1 = Maze(0, 0, num_rows, num_cols, 10, 10) - self.assertEqual( - len(m1._cells), - num_cols - ) - self.assertEqual( - len(m1._cells[0]), - num_rows - ) - -if __name__ == "__main__": - unittest.main() |
