Example #1
0
        public void LessThan_WithDouble2Integer3_ReturnTrue()
        {
            var left  = new Constant(2.0);
            var right = new Constant(3);

            var operation = new LessThan(left, right);
            var actual    = (bool)operation.GetExpression(null).Calculate();

            Assert.AreEqual(true, actual);
        }