예제 #1
0
        public void SquareRoot_SqrtRoot2_WithRealNumerInput_ShouldFindTheSquare()
        {
            //Arrange
            var input          = 5d;
            var expectedResult = Math.Sqrt(input);

            //Act
            var actualResult = SquareRoot.SqrtRoot2(input);

            //Assert
            Assert.Equal(expectedResult, actualResult);
        }