コード例 #1
0
        public void ThereIsOneWayToMake1Cent()
        {
            const int expected = 1;
            int       actual   = CountCoins.CountEm(1);

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void ThereAreTwoWaysToMake5Cents()
        {
            const int expected = 2;
            int       actual   = CountCoins.CountEm(5);

            Assert.Equal(expected, actual);
        }
コード例 #3
0
        public void ThereAreSixWaysToMake15Cents()
        {
            const int expected = 6;
            int       actual   = CountCoins.CountEm(15);

            Assert.Equal(expected, actual);
        }