public void testStrings() { triangle t = new triangle("2a", "10", "re"); Assert.AreEqual(0, t.getTriangleSquare()); }
public void testIntegers() { triangle t = new triangle("3", "4", "5"); Assert.AreEqual(6, t.getTriangleSquare()); }
public void testNegativeInt() { triangle t = new triangle("-3", "-4", "-5"); Assert.AreEqual(6, t.getTriangleSquare()); }
public void testDouble() { triangle t = new triangle("4.35", "7", "10"); Assert.AreEqual(0, t.getTriangleSquare()); }