public void Test2() { List <int[]> expected = null; int[] input = new int[] { }; var actual = Class29.PrintSubset(input); Assert.Equal(expected, actual); }
public void Test3() { List <int[]> expected = new List <int[]> { new int[] { }, new int[] { 1 }, new int[] { 1, 1 }, new int[] { 1, 2 }, new int[] { 2 }, new int[] { 2, 1 }, new int[] { 2, 2 } }; int[] input = new int[] { 1, 2 }; var actual = Class29.PrintSubset(input); Assert.Equal(expected, actual); }