public void ShouldTotalCircumferenceCalculator_return_correct_sum()
 {
     IShape square = new Square { A = 4 };
     IShape rect = new Rectangle { A = 4, B = 5 };
     TotalCircumferenceCalculator calculator = new TotalCircumferenceCalculator();
     calculator.Add(square);
     calculator.Add(rect);
     Assert.That(calculator.GetTotal(), Is.EqualTo(square.Circumference() + rect.Circumference()));
 }
 int CalculateCircumferenceForSquare(Square rect)
 {
     rect.A = 4;
     return rect.Circumference();
 }
 public void Should_calculate_circumference_for_square()
 {
     Square square = new Square();
     square.A = 5;
     Assert.That(square.Circumference(), Is.EqualTo(20));
 }