public void CombinationSum3_4() { var solution = new _0216_CombinationSumIII(); var result = solution.CombinationSum3(3, 2); AssertHelper.AssertList(new List <IList <int> >() { }, result); }
public void CombinationSum3_1() { var solution = new _0216_CombinationSumIII(); var result = solution.CombinationSum3(3, 7); AssertHelper.AssertList(new List <IList <int> >() { new int[] { 1, 2, 4 }, }, result); }
public void CombinationSum3_5() { var solution = new _0216_CombinationSumIII(); var result = solution.CombinationSum3(9, 45); AssertHelper.AssertList(new List <IList <int> >() { new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 }, }, result); }