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