Exemple #1
0
        public void RangeWithDisallowedTouchingIntersect(
            decimal from1,
            decimal to1,
            decimal from2,
            decimal to2,
            bool shouldIntersect)
        {
            SimpleRange range1 = new SimpleRange(from1, to1, false);
            SimpleRange range2 = new SimpleRange(from2, to2, false);

            Assert.Equal(shouldIntersect, range1.Intersects(range2));
        }