public void ShouldEvaluateValueEqualToUpperBoundToFalseIfUpperBoundExclusive()
        {
            BetweenFilter filter = new BetweenFilter(m_extractor, 10, 20, true, false);

            Assert.IsFalse(filter.Evaluate(20));
        }
        public void ShouldEvaluateValueEqualToUpperBoundToTrue()
        {
            BetweenFilter filter = new BetweenFilter(m_extractor, 10, 20);

            Assert.IsTrue(filter.Evaluate(20));
        }
        public void ShouldEvaluateAsFalseIfUpperBoundIsNull()
        {
            BetweenFilter filter = new BetweenFilter(m_extractor, 10, null, true, false);

            Assert.IsFalse(filter.Evaluate(12));
        }
        public void ShouldEvaluateValueHigherThanRangeToFalse()
        {
            BetweenFilter filter = new BetweenFilter(m_extractor, 10, 20);

            Assert.IsFalse(filter.Evaluate(21));
        }
        public void ShouldEvaluateNullAsFalse()
        {
            BetweenFilter filter = new BetweenFilter(m_extractor, 10, 20, true, false);

            Assert.IsFalse(filter.Evaluate(null));
        }