def testNotatriangles3(self): self.assertEqual(classifyTriangle(2, 4, 2), 'NotATriangle', '2,4,2 should not be a triangle')
def testinput1(self): self.assertEqual(classifyTriangle(201, 10, 10), 'InvalidInput', "200,10,10 should be invalidinput")
def testIsoceles1(self): self.assertEqual(classifyTriangle(4, 4, 6), 'Isoceles', '4,4,6 should be a isoceles triangle')
def testIsoceles3(self): self.assertEqual(classifyTriangle(6, 6, 4), 'Isoceles', '6,6,4 should be a isoceles triangle')
def testinput8(self): self.assertEqual(classifyTriangle(1, 2.5379, 2), 'InvalidInput', '2,2.5379,2 should be invalidinput')
def test_right_test(self): self.assertEqual(classifyTriangle(4, 3, 5), 'Right', "Should be 'Right'")
def testRightTriangleB(self): self.assertEqual(classifyTriangle(5, 3, 4), 'Right', '5,3,4 is a Right triangle')
def testinput6(self): self.assertEqual(classifyTriangle(1, 0, 1), 'InvalidInput', '1,0,1 should be invalidinput')
def test_equal_test(self): self.assertEqual(classifyTriangle(1, 1, 1), 'Equilateral', "Should be 'Equilateral'")
def testRightTriangleA(self): self.assertEqual(classifyTriangle(3, 4, 5), 'Right', '3,4,5 is a Right triangle')
def test_InvalidInput(self): self.assertEqual(classifyTriangle(201, 201, 201), 'InvalidInput1', "Should be 'InvalidInput1'") self.assertEqual(classifyTriangle(0, 0, 0), 'InvalidInput2', "Should be 'InvalidInput2'") self.assertEqual(classifyTriangle(1.1, 1.1, 1.1), 'InvalidInput3', "Should be 'InvalidInput3'")
def test_NotATriangle(self): self.assertEqual(classifyTriangle(1, 1, 2), 'NotATriangle1', "Should be 'NotATriangle1'")
def test_scal_test(self): self.assertEqual(classifyTriangle(18, 28, 39), 'Scalene', "Should be 'Scalene'")
def testinput2(self): self.assertEqual(classifyTriangle(20, 201, 20), 'InvalidInput', '20,200,20 should be invalidinput')
def testRightTriangleC(self): self.assertEqual(classifyTriangle(4, 5, 3), 'Right', '4,5,3 is a Right triangle')
def testinput3(self): self.assertEqual(classifyTriangle(10, 10, 201), 'InvalidInput', '10,10,201 should be invalidinput')
def testEquilateralTriangles(self): self.assertEqual(classifyTriangle(1, 1, 1), 'Equilateral', '1,1,1 should be equilateral')
def testinput7(self): self.assertEqual(classifyTriangle("a", 1, 2), 'InvalidInput', 'a,1,2 should be invalidinput')
def testScalene(self): self.assertEqual(classifyTriangle(4, 7, 8), "Scalene", "4,7,8 should be scalene triangle")
def testinput9(self): self.assertEqual(classifyTriangle(1, 2, 'a'), 'InvalidInput', '1,2,a should be invalidinput')
def test_iso_test(self): self.assertEqual(classifyTriangle(5, 5, 3), 'Isosceles', "Should be 'Isosceles'")