Exemple #1
0
 def testMove(self):
     board = Board.CreateNewBoard()
     for i in range(80):
         board.printBoard()
         print("-" * 20)
         board.Move()
Exemple #2
0
def main():
    board = Board.CreateNewBoard()
Exemple #3
0
 def testExportFEN(self):
     board = Board.CreateNewBoard()
     self.assertEqual(
         "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
         board.ExportFEN())
Exemple #4
0
 def setUp(self):
     self._board = Board.CreateNewBoard()