示例#1
0
        public void GivenIPayOneDollarsWithABankTotalOfThree()
        {
            var bank = new CoinBank();

            bank.DecreaseBalance(1.0M);

            Assert.AreEqual(bank.HasChange(), true);
        }
示例#2
0
        public void GivenIPayTwoDollarsWithABankTotalOfThree()
        {
            var bank = new CoinBank();

            bank.DecreaseBalance(2.1M);

            Assert.AreEqual(bank.HasChange(), false);
        }