Exemple #1
0
        public void Input4()
        {
            var billList = new[] {
                1, 2, 3, 5
            };
            var r = Problem3.AllVouchers(billList);

            Assert.Equal(7, r);
        }
Exemple #2
0
        public void Input1()
        {
            var billList = new[] {
                2, 3, 4, 9
            };
            var r = Problem3.AllVouchers(billList);

            Assert.Equal(11, r);
        }
Exemple #3
0
        public void Input3()
        {
            var billList = new[] {
                3, 3, 3, 3, 3
            };
            var r = Problem3.AllVouchers(billList);

            Assert.Equal(0, r);
        }