Example #1
0
        public void TestSquare2CalcPerimeter()
        {
            Square2 mySqu = new Square2(2);

            Assert.AreEqual(mySqu.Perimeter(), 8);
        }
Example #2
0
        public void TestSquare2CalcArea()
        {
            Square2 mySqu = new Square2(2);

            Assert.AreEqual(mySqu.Area(), 4);
        }