Example #1
0
        public void MakeChangeMethodTest(double currentBalance, int[] expectedCoins)
        {
            decimal decimalBalance = Convert.ToDecimal(currentBalance);

            CollectionAssert.AreEqual(expectedCoins, change.MakeChange(decimalBalance));
        }
Example #2
0
 public void It_should_not_accept_less_than_two_cents()
 {
     _changeMachine.MakeChange(0.01);
 }