Exemplo n.º 1
0
Arquivo: test.py Projeto: EdKong/tron
 def test_find_walls(self):
     board = tronutils.read_board('maps/test-board.txt')
     walls = MyTronBot.find_walls(board)
     self.assertEquals(len(walls), 1)
     self.assertEquals(len(walls[0]), 18)
Exemplo n.º 2
0
 def test_find_walls(self):
     board = tronutils.read_board('maps/test-board.txt')
     walls = MyTronBot.find_walls(board)
     self.assertEquals(len(walls), 1)
     self.assertEquals(len(walls[0]), 18)