Beispiel #1
0
 public void TestWallet_2_Interest()
 {
     CreditCardInterest.CreditCard[] cardArr = { card3, card4 };
     CreditCardInterest.Wallet       wallet  = new CreditCardInterest.Wallet(cardArr);
     Assert.AreEqual(15, wallet.getWalletInterest());
 }
Beispiel #2
0
 public void TestWallet_1_Interest()
 {
     CreditCardInterest.CreditCard[] cardArr = { card1, card2 };
     CreditCardInterest.Wallet       wallet  = new CreditCardInterest.Wallet(cardArr);
     Assert.AreEqual(11.0, wallet.getWalletInterest());
 }