public void ContainsRangeOpen() { KataRange range = new KataRange("(2,9)"); Assert.Equal(new int[] { 3, 8 }, range.EndPoints()); }
public void ContainsRangeMixed1() { KataRange range = new KataRange("(2,9]"); Assert.Equal(new int[] { 3, 9 }, range.EndPoints()); }
public void ContainsRangeMixed2() { KataRange range = new KataRange("[2,9)"); Assert.Equal(new int[] { 2, 8 }, range.EndPoints()); }
public void ContainsRangeClosed() { KataRange range = new KataRange("[2,9]"); Assert.Equal(new int[] { 2, 9 }, range.EndPoints()); }