コード例 #1
0
 def test_1(self):
     self.assertEqual(horse.calculate_paths((8, 8), (7, 7)),
                      14,
                      msg="Something gonna wrong...")
コード例 #2
0
 def test_4(self):
     self.assertEqual(horse.calculate_paths((12, 10), (11, 9)),
                      324,
                      msg=":)")
コード例 #3
0
 def test_2(self):
     self.assertEqual(horse.calculate_paths((9, 9), (8, 8)),
                      27,
                      msg="Just because...")
コード例 #4
0
 def test_3(self):
     self.assertEqual(horse.calculate_paths((17, 12), (16, 9)),
                      64137,
                      msg="Oo")
コード例 #5
0
ファイル: d1_test_horse.py プロジェクト: Juliya1980/PY111-1
 def test_3(self):
     self.assertEqual(830654464, horse.calculate_paths((17, 12), (16, 9)),
                      msg="Oo")