Пример #1
0
 def test_2(self):
     answer = compute_knight_moves(2)
     self.assertEqual(answer, 16)
Пример #2
0
 def test_3(self):
     answer = compute_knight_moves(3)
     self.assertEqual(answer, 36)
Пример #3
0
 def test_1(self):
     answer = compute_knight_moves(1)
     self.assertEqual(answer, 8)