public void TriangleAreaTest(double a, double b, double c, double result) { Triangle triangle = new Triangle(a, b, c); Assert.AreEqual(triangle.CalculateArea(), result, 0.05); }
public void TriangleAreaTest(double a, double b, double c, double result) { Triangle triangle = new Triangle(a, b, c); Assert.AreEqual(triangle.CalculateArea(), result, 0.05); }