public void CorrectAmountCalculating() { Wallet wallet = new Wallet(1, 2, 3, 4); Assert.AreEqual(286, wallet.getAmount()); Wallet secondWallet = new Wallet(1, 0, 1, 1); Assert.AreEqual(76, secondWallet.getAmount()); Wallet thirdWallet = new Wallet(0, 0, 0, 0); Assert.AreEqual(0, thirdWallet.getAmount()); }
//Constructor public Customer() { wallet = new Wallet(5, 50, 20, 20, 10); backpack = new Backpack(); }
public Customer() { backpack = new Backpack(); wallet = new Wallet(); }
//Constructor public Customer() { wallet = new Wallet(); backPack = new Backpack(); }