public void AreaTest() { Triangle t = new Triangle(3, 4, 5); double expected = 3 * 4 / 2; double area = t.Area(); Assert.AreEqual(expected, area, 1E-3); }
public void WrongSideLegthTest() { Triangle t = new Triangle(1, 2, 0); }
public void TriangleInequalityTest() { Triangle t = new Triangle(2, 3, 6); }