예제 #1
0
 public void GetCombinations_TwoItemList()
 {
     Assert.Equal(new[] { Array.Empty <int>(), new[] { 2 }, new[] { 1 }, new[] { 1, 2 } }, TestCaseHelper.GetCombinations(1, 2));
 }
예제 #2
0
 public void GetCombinations_EmptyList()
 {
     Assert.Equal(new[] { Array.Empty <int>() }, TestCaseHelper.GetCombinations(Array.Empty <int>()).ToArray());
 }
예제 #3
0
 public void GetCombinations_OneItemList()
 {
     Assert.Equal(new[] { Array.Empty <int>(), new[] { 1 } }, TestCaseHelper.GetCombinations(1));
 }