예제 #1
0
 public static void NoChange()
 {
     Assert.Equal(0, CountCombi.CountCombinations(11, new[] { 5, 7 }));
 }
예제 #2
0
 public static void SimpleCase()
 {
     Assert.Equal(3, CountCombi.CountCombinations(4, new[] { 1, 2 }));
 }
예제 #3
0
 public static void AnotherSimpleCase()
 {
     Assert.Equal(4, CountCombi.CountCombinations(10, new[] { 5, 2, 3 }));
 }