示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }
示例#4
0
        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));
        }