public void TestShapeArea() { Shape simple = new Shape(); simple.width = 2; simple.height = 2; Assert.IsTrue(simple.calculateArea() == 4); }
public void TestShapeVolume() { Shape simple = new Shape(); simple.width = 2; simple.height = 3; simple.depth = 5; Assert.IsTrue(simple.calculateVolume() == 30); }
public void TestMethod1() { Shape testShape = new Shape(); Assert.IsInstanceOfType(testShape, typeof(Shape)); }