diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-03 15:05:55 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-03 15:05:55 +0200 |
commit | 729455edf7fe92ba46ba2ea274bc3b5f4879b71b (patch) | |
tree | f300018c08775323f1cab4699633767500710b59 /board | |
parent | b45017cdb4d9f723202b2f110e28029f974a7c86 (diff) |
Adding tests to whole app.
Diffstat (limited to 'board')
-rw-r--r-- | board/board.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/board.py b/board/board.py index c1ec798..59135d7 100644 --- a/board/board.py +++ b/board/board.py @@ -66,7 +66,7 @@ class Board(): for line in board: if len(line)!=w: return False - if self.__get_board_mines(board) not in range (1, w*h - 1): + if self.__get_board_mines(board) not in range (1, w*h): return False return True |