예제 #1
0
 public void TestRectangleArea()
 {
     Rectangle rectangle = new Rectangle(1, 5);
     Assert.AreEqual(5, rectangle.Area());
 }
예제 #2
0
 public void TestBiggerRectangleArea()
 {
     Rectangle rectangle = new Rectangle(10, 100);
     Assert.AreEqual(1000, rectangle.Area());
 }