Esempio n. 1
0
        public void Evaluate_LeftIsGreaterThanThanRight_ReturnsFalse()
        {
            var left  = new Integer(5000);
            var right = new Integer(3934);
            var expr  = new LessThanOrEquals(left, right);

            var result = expr.EvaluateWithData <bool>();

            Assert.False(result);
        }
Esempio n. 2
0
        public void Evaluate_LeftIsEqualToRight_ReturnsTrue()
        {
            var left  = new Integer(3934);
            var right = new Integer(3934);
            var expr  = new LessThanOrEquals(left, right);

            var result = expr.EvaluateWithData <bool>();

            Assert.True(result);
        }