Exemplo n.º 1
0
        public void CompileExpressionList()
        {
            Parser parser = new Parser("a, b");

            IList<IExpression> expressions = parser.CompileExpressionList();

            Assert.IsNotNull(expressions);
            Assert.AreEqual(2, expressions.Count);
            Assert.IsInstanceOfType(expressions[0], typeof(NameExpression));
            Assert.IsInstanceOfType(expressions[1], typeof(NameExpression));
        }