Ejemplo n.º 1
0
    def test_triangule_area_two(self):
        triangle_test = (2, 4, 5)
        area = algoritmo.calculate_area(triangle_test)

        self.assertEquals(3.799671038392666, area)
Ejemplo n.º 2
0
    def test_triangule_area(self):
        triangle_test = (5, 10, 12)
        area = algoritmo.calculate_area(triangle_test)

        self.assertEquals(24.544602257930357, area)