Esempio n. 1
0
File: test.py Progetto: 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)
Esempio 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)