Exemple #1
0
        public void CircleSqrCalculationTest()
        {
            //Arrange
            var circle = new Circle(10);

            //Act
            double circleSquare = circle.GetArea();

            //Assert
            Assert.AreEqual(314.15926535897931, circleSquare);
        }
Exemple #2
0
 public override double GetArea() => Inner.GetArea() - Outer.GetArea();