def test_areatriangulo_base_5_6_altura_11_3(self): result = calcareas.areatriangulo(5.6, 11.3) expected = 31.64 self.assertEqual(expected, result)
def test_areatriangulo_base_3_altura_7(self): result = calcareas.areatriangulo(3, 7) expected = 10.5 self.assertEqual(expected, result)
def test_areatriangulo_base_10_altura_35(self): result = calcareas.areatriangulo(10, 35) expected = 175.0 self.assertEqual(expected, result)
def test_areatriangulo_base_2_altura_4(self): result = calcareas.areatriangulo(2, 4) expected = 4 self.assertEqual(expected, result)