示例#1
0
 public void TestSquare2CalcArea()
 {
     Square2 mySqu = new Square2(2);
     Assert.AreEqual(mySqu.Area(), 4);
 }
示例#2
0
 public void TestSquare2CanComputeArea()
 {
     Square2 mySquare2 = new Square2(10);
     Assert.AreEqual(mySquare2.Area(), 100);
 }