コード例 #1
0
 def test_right_scalene2(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(5,4,2), "Scalene")
コード例 #2
0
 def test_right_scalene(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(3,4,5), "Right Scalene")
コード例 #3
0
 def test_scalene(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(13, 15, 23), "Scalene")
コード例 #4
0
 def test_isosceles(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(8, 8, 10), "Isosceles")
コード例 #5
0
 def test_equilateral(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(5, 5, 5), "Equilateral")
コード例 #6
0
 def test_right_isosceles(self):
     self.assertEqual(Shahab_Ahsan_HW1.classify_triangle(12, 12, 15), "Isosceles")