Пример #1
0
 public void TestRectanglePerimeter()
 {
     Rectangle rectangle = new Rectangle(1, 5);
     Assert.AreEqual(12, rectangle.Perimeter());
 }
Пример #2
0
 public void TestBiggerRectanglePerimeter()
 {
     Rectangle rectangle = new Rectangle(10, 100);
     Assert.AreEqual(220, rectangle.Perimeter());
 }