Beispiel #1
0
        public void RangeSubRangeReverseIsFalse()
        {
            var a = new DoubleRange(5, 7);
            var b = new DoubleRange(0, 10);

            Assert.IsFalse(b.IsSubRange(a));
        }
Beispiel #2
0
        public void RangeSubRange()
        {
            var a = new DoubleRange(5, 7);
            var b = new DoubleRange(0, 10);

            Assert.IsTrue(a.IsSubRange(b));
        }