Ejemplo n.º 1
0
        public void ShouldAddTheAmountOfWithdrawToTheBalanceValue()
        {
            DateTime today           = DateTime.Now;
            uint     amount          = 200;
            var      deposit         = new Withdraw(today, amount);
            int      balance         = 0;
            var      newBalanceValue = deposit.AddBalanceToAmount(balance);

            Check.That(newBalanceValue).IsEqualTo(balance - amount);
        }