Exemplo n.º 1
0
 public void ShouldProvideRectanglePerimeter()
 {
     var rectangle = new Rectangle(10, 12);
     Assert.That(rectangle.Perimeter(), Is.EqualTo(44));
 }
Exemplo n.º 2
0
 public void ShouldProvideRectangleArea()
 {
     var rectangle = new Rectangle(10, 12);
     Assert.That(rectangle.Area(), Is.EqualTo(120));
 }