def testInputTamgiac_Overflow_Test2(self): self.assertEqual(CheckType(math.pow(2, 32) + 1, 0, 6.0), "Overflow:")
def testInputTamgiac_Overflow_Test2(self): self.assertEqual( CheckType( math.pow(2, 32) / 2, math.pow(2, 32) / 2, math.pow(2, 32) / 2), "Tam giac deu")
def testTamgiac_Type(self): self.assertEqual(CheckType(1.0, 2.0, 3.0), "Not correct type: triangle")
def testTamgiacThuong(self): self.assertEqual(CheckType(4.0, 5.0, 6.0), "Tam giac thuong")
def testTamgiac_VuongCan_TaiC(self): self.assertEqual(CheckType(math.sqrt(2), math.sqrt(2), 2.0), "Tam giac vuong can: Tai C")
def testTamgiac_Type_Float(self): self.assertEqual(CheckType(2, 2.0, 3.0), "Not correct type: float")
def testTamgiac_Vuong_TaiC(self): self.assertEqual(CheckType(5.0, 4.0, 3.0), "Tam giac vuong B")
def testTamgiac_VuongCan_TaiB(self): self.assertEqual(CheckType(2.0, math.sqrt(2), math.sqrt(2)), "Tam giac vuong can: Tai B")
def testTamgiac_Vuong_TaiB(self): self.assertEqual(CheckType(4.0, 3.0, 5.0), "Tam giac vuong A")
def testTamgiac_Vuong_TaiA(self): self.assertEqual(CheckType(3.0, 5.0, 4.0), "Tam giac vuong C")
def testTamgiac_Deu(self): self.assertEqual(CheckType(2.0, 2.0, 2.0), "Tam giac deu")
def testTamgiac_Can_TaiC(self): self.assertEqual(CheckType(3.0, 2.0, 2.0), "Tam giac can C")
def testTamgiac_Can_TaiB(self): self.assertEqual(CheckType(2.0, 3.0, 2.0), "Tam giac can B")