public void Fourth() { Overlaps.Interval[] arr1 = { new Overlaps.Interval(3, 5), new Overlaps.Interval(2, 10) }; int n1 = arr1.Length; Assert.IsFalse(Overlaps.isOverlap(arr1, n1)); }
public void Second() { Overlaps.Interval[] arr1 = { new Overlaps.Interval(2, 5), new Overlaps.Interval(3, 10) }; int n1 = arr1.Length; Assert.IsFalse(!Overlaps.isOverlap(arr1, n1)); }
public void Third() { Overlaps.Interval[] arr1 = { new Overlaps.Interval(-1, 2), new Overlaps.Interval(7, 10) }; int n1 = arr1.Length; Assert.IsFalse(Overlaps.isOverlap(arr1, n1)); }
public void First() { Overlaps.Interval[] arr1 = { new Overlaps.Interval(2, 5), new Overlaps.Interval(7, 10) }; int n1 = arr1.Length; Assert.IsTrue(Overlaps.isOverlap(arr1, n1)); }