コード例 #1
0
        public void EvaluateListExpressionWithQuotedValued()
        {
            ListExpression expression = new ListExpression(new object[] { new QuotePrimitive(), 1 });

            Assert.AreEqual(1, expression.Evaluate(null, null));
        }
コード例 #2
0
        public void EvaluateListExpressionWithNullElements()
        {
            ListExpression expression = new ListExpression(null);

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