Beispiel #1
0
 def test_create_lines(self):
     board = Board(dimensions=(0,0))
     line = board.create_line(start=(0,7), vector=(1,-1), length=8)
     self.assertEqual(
         line,
         [(0, 7), (1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1), (7, 0)]
     )