Ejemplo n.º 1
0
        public void EvaluateListExpressionWithQuotedValued()
        {
            ListExpression expression = new ListExpression(new object[] { new QuotePrimitive(), 1 });

            Assert.AreEqual(1, expression.Evaluate(null, null));
        }
Ejemplo n.º 2
0
        public void EvaluateListExpressionWithNullElements()
        {
            ListExpression expression = new ListExpression(null);

            Assert.IsNull(expression.Evaluate(null, null));
        }