public void ShouldIncreaseBalanceAfterPositiveInterest(double startingBalance) { _sut = new SavingsAccount("Mieke", 0.10, startingBalance); _sut.AddInterests(); Assert.That(_sut.Balance, Is.GreaterThan(startingBalance)); }
public void SavingAccountShouldAddInterestCorrectly() { sut.AddInterests(); Assert.That(sut.Balance, Is.EqualTo(105)); }