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