public void OverDraftFeeTest() { BankClass acct = new BankClass(); acct.WithdrawalMoney(7); double bal = acct.GetBalance(); Assert.AreEqual(-12, bal); }
public void DepositAndGetAcctBalance() { BankClass acct = new BankClass(); acct.DepositMoney(5); double bal = acct.GetBalance(); Assert.AreEqual(5, bal); }
public void TestDepositAndWithdrawlRegular() { BankClass acct = new BankClass(); acct.DepositMoney(13); acct.WithdrawalMoney(2); double bal = acct.GetBalance(); Assert.AreEqual(11, bal); }
public void TestDepositAndWithdrawlForOverDraft() { BankClass acct = new BankClass(); acct.DepositMoney(1); acct.WithdrawalMoney(2); double bal = acct.GetBalance(); Assert.AreEqual(-6, bal); }
public void WithdrawAndGetAcctBal() { BankClass acct = new BankClass(); acct.DepositMoney(5); acct.WithdrawalMoney(5); double bal = acct.GetBalance(); Assert.AreEqual(0, bal); }