Пример #1
0
        public void ConvertToQuarters_CorrectNickelChange_1()
        {
            CoinsClass test = new CoinsClass();

            test.ConvertToQuarters(.80);
            Assert.AreEqual(1, test.Nickels);
        }
Пример #2
0
        public void ConvertToQuarters_CorrectPennyChange_2()
        {
            CoinsClass test = new CoinsClass();

            test.ConvertToQuarters(.87);
            Assert.AreEqual(2, test.Pennies);
        }