Ejemplo n.º 1
0
        public void PvShouldCalculatedWithoutError(double rate, short numberPeriods, double payment, double futureValue, DueDate due)
        {
            //Arrange
            var pv = new Pv();

            //Act
            var exception = Record.Exception(() => pv.PresentValue(rate, numberPeriods, payment, futureValue, due));

            //Assert
            exception.Should().BeNull();
        }