def test_board_grid_update_move_match_expected(self,size,move,expected_grid): board1 = Board(size); board1.update_move(move,"X") self.assertEqual(board1.grid,expected_grid)
def test_board_grid_update_move_not_allowed(self,size,initial_grid, move): board1 = Board(size); board1.grid = initial_grid self.assertFalse(board1.update_move(move,"X"))