public void SmallestRangeI_1() { var solution = new _0908_SmallestRangeI(); var result = solution.SmallestRangeI(new int[] { 1 }, 0); Assert.AreEqual(0, result); }
public void SmallestRangeI_2() { var solution = new _0908_SmallestRangeI(); var result = solution.SmallestRangeI(new int[] { 0, 10 }, 2); Assert.AreEqual(6, result); }