Beispiel #1
0
 def testEmptyBoard(self):
     board_string = boardutils.empty_board()
     self.assertEqual(9, len(board_string))
     self.assertEqual(9, board_string.count(' '))
Beispiel #2
0
 def reset_board(self):
     self.moves = {}
     self.board = boardutils.empty_board()
 def testEmptyBoard(self):
     board_string = boardutils.empty_board()
     self.assertEqual(9, len(board_string))
     self.assertEqual(9, board_string.count(' '))
Beispiel #4
0
 def reset_board(self):
     self.moves = {}
     self.board = boardutils.empty_board()