public void CheckOpenLeftRange()
 {
     var range = new NullableRange<int>(null, 0);
     Assert.True(range.In(-100));
 }
 public void CheckNullInOpenRange()
 {
     var range = new NullableRange<int>(null, null);
     Assert.True(range.In(null));
 }
 public void CheckClosedRange()
 {
     var range = new NullableRange<int>(-100, 100);
     Assert.True(range.In(0));
 }
 public void CheckOpenRightRange2()
 {
     var range = new NullableRange<int>(0, null);
     Assert.False(range.In(-100));
 }
 public void CheckOpenRightRangeWithNull()
 {
     var range = new NullableRange<int>(0, null);
     Assert.True(range.In(null));
 }
        public void CheckClosedRange()
        {
            var range = new NullableRange <int>(-100, 100);

            Assert.True(range.In(0));
        }
 public void CheckOpenLeftRange2()
 {
     var range = new NullableRange<int>(null, 0);
     Assert.False(range.In(100));
 }
        public void CheckOpenLeftRange()
        {
            var range = new NullableRange <int>(null, 0);

            Assert.True(range.In(-100));
        }
        public void CheckNullInOpenRange()
        {
            var range = new NullableRange <int>(null, null);

            Assert.True(range.In(null));
        }
        public void CheckOpenRightRangeWithNull()
        {
            var range = new NullableRange <int>(0, null);

            Assert.True(range.In(null));
        }
        public void CheckOpenRightRange2()
        {
            var range = new NullableRange <int>(0, null);

            Assert.False(range.In(-100));
        }
        public void CheckOpenLeftRange2()
        {
            var range = new NullableRange <int>(null, 0);

            Assert.False(range.In(100));
        }