public void CheckingAccountTest_InterestEarned_More_Than_A_Thousand() { IAccount checkingAccount = new CheckingAccount(); checkingAccount.Deposit(950.75m); checkingAccount.Deposit(1520.32m); checkingAccount.Withdraw(95.00m); Assert.AreEqual(2.37607m, checkingAccount.InterestEarned()); }
public void CheckingAccountTest_InterestEarned_Less_Than_A_Thousand() { IAccount checkingAccount = new CheckingAccount(); checkingAccount.Deposit(450.75m); checkingAccount.Deposit(120.32m); checkingAccount.Withdraw(4.67m); Assert.AreEqual(.5664m, checkingAccount.InterestEarned()); }