Exemple #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));
        }
Exemple #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));
        }
Exemple #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));
        }
Exemple #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));
        }