Ejemplo n.º 1
0
        public void TestInterestTransaction()
        {
            decimal before = _savingsAccount.Balance;

            _savingsAccount.ApplyInterest();
            Assert.AreEqual(before * (1 + INTERESTRATE), _savingsAccount.Balance);
        }