Fixed check_correct

This commit is contained in:
Lukas Wölfer
2019-04-21 02:04:03 +02:00
parent 7f055eb302
commit 6f19d87e86
5 changed files with 32 additions and 17 deletions

View File

@@ -15,8 +15,6 @@ class Action:
pass
def apply(self, action_board: board.Board) -> None:
assert self._before_state == 0
assert self._after_state == 0
if __debug__:
self._before_state = action_board.state_identifier
self._apply(action_board)