Esempio n. 1
0
        public void DecrementMoney_CallOnce_ReducesCheckMoneyByAmount()
        {
            int new_amount = 5;

            int money_start = eco.Money;

            eco.DecrementMoney(new_amount);
            int Money_end = eco.Money;

            Assert.AreEqual(money_start - new_amount, Money_end);
        }