Example #1
0
        public double GiveGetSumAreaFiguresWhenInputIsListWithBigValuesFiguresThenOutIsInfinity(List <Figure> actualFigure)
        {
            //Arrange
            BoxForFigures boxForFigures = InitialBoxForFigures(actualFigure);

            //Act
            double figureAreaCount = boxForFigures.GetSumAreaFigures();

            //Assert
            return(figureAreaCount);
        }
Example #2
0
        public double GiveGetSumAreaFiguresWhenInputIsListFiguresThenOutIsValidSumOfArea(List <Figure> actualFigure)
        {
            //Arrange
            BoxForFigures boxForFigures = InitialBoxForFigures(actualFigure);

            //Act
            double figureAreaCount = boxForFigures.GetSumAreaFigures();

            //Assert
            return(figureAreaCount);
        }