예제 #1
0
        public void Possible_Deposit_With_Debt()
        {
            withDebt.Deposit(50);

            Assert.AreEqual(withDebt.GetDebtBalance(), 0);
            Assert.AreEqual(accWithDebt.GetBalance(), 0);
        }
예제 #2
0
 public void Possible_Deposit()
 {
     debtacc.Deposit(100);
     Assert.AreEqual(debtacc.GetDebtBalance(), 0);
     Assert.AreEqual(acc.GetBalance(), 400);
 }
예제 #3
0
 public void DepositTest_Valid()
 {
     account.Deposit(100);
     Assert.AreEqual(200, account.Balance, 0.0001);
     Assert.AreEqual(100, account.AvailableDebt, 0.0001);
 }