コード例 #1
0
        public void SimpleFormula2Args()
        {
            var expected = Statement.NewFormula(
                Expression.NewFunctionExpression(
                    "F", SyntaxList <Expression> .NewList(new[]
            {
                CreateExpression(1),
                CreateExpression(2),
            })));
            var result = Parse("F(1, 2)");

            Assert.Equal(expected, result);
        }