Exemplo n.º 1
0
 def test_get_movable_tiles_2(self):
     board = Board("""
          1  2  3  4
          5  6  7  8
          9 10  . 12
         13 14 11 15
     """)
     self.assertEqual([7, 10, 12, 11], board.get_movable_tiles())
Exemplo n.º 2
0
 def test_get_movable_tiles_1(self):
     board = Board("""
          1  2  3  4
          5  6  7  8
          9 10 11 12
         13 14  . 15
     """)
     self.assertEqual([11, 14, 15], board.get_movable_tiles())