Beispiel #1
0
 public void Possible_Withdrawal()
 {
     debtacc.Withdraw(300);
     Assert.AreEqual(debtacc.GetDebtBalance(), 0);
     Assert.AreEqual(acc.GetBalance(), 0);
 }
Beispiel #2
0
 public void WithdrawTest_Valid()
 {
     account.Withdraw(50.99);
     Assert.AreEqual(49.01, account.Balance, 0.0001);
     Assert.AreEqual(100, account.AvailableDebt, 0.0001);
 }