public void TestSquare2CalcArea() { Square2 mySqu = new Square2(2); Assert.AreEqual(mySqu.Area(), 4); }
public void TestSquare2CalcPerimeter() { Square2 mySqu = new Square2(2); Assert.AreEqual(mySqu.Perimeter(), 8); }
public void TestSquare2CanComputeArea() { Square2 mySquare2 = new Square2(10); Assert.AreEqual(mySquare2.Area(), 100); }