示例#1
0
 def test_my_judge_6(self):
     print('execute test_six')
     obj = JudgeMethod()
     assert obj.TriJud(2, 3, 4) == "scalene"
示例#2
0
 def test_my_judge_1(self):
     print('execute test_one')
     obj = JudgeMethod()
     assert obj.TriJud(1, 2, 3) == "not a triangle"
示例#3
0
 def test_my_judge_5(self):
     print('execute test_five')
     obj = JudgeMethod()
     assert obj.TriJud(1, 1, 1) == "equilateral"
示例#4
0
 def test_my_judge_4(self):
     print('execute test_four')
     obj = JudgeMethod()
     assert obj.TriJud(1, 2, 1) == "not a triangle"
示例#5
0
 def test_my_judge_3(self):
     print('execute test_three')
     obj = JudgeMethod()
     assert obj.TriJud(2, 2, 3) == "isosceles"
示例#6
0
 def test_my_judge_2(self):
     print('execute test_two')
     obj = JudgeMethod()
     assert obj.TriJud(1, 2, 2) == "isosceles"
示例#7
0
 def setUp(self):
     self.obj = JudgeMethod()