コード例 #1
0
        public void Test2()
        {
            List <int[]> expected = null;

            int[] input  = new int[] { 1, 2, 5 };
            int   target = 0;
            var   actual = Class31.PrintCoins(input, target);

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void Test3()
        {
            List <int[]> expected = new List <int[]> {
                new int[] { 1, 1, 1 },
                new int[] { 2, 1 }
            };

            int[] input  = new int[] { 1, 2, 5 };
            int   target = 3;
            var   actual = Class31.PrintCoins(input, target);

            Assert.Equal(expected, actual);
        }