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(); }