AjErl.Tests.Compiler.ParserTests.ParseFunctionWithDelayedCall C# (CSharp) Метод

ParseFunctionWithDelayedCall() приватный Метод

private ParseFunctionWithDelayedCall ( ) : void
Результат void
        public void ParseFunctionWithDelayedCall()
        {
            Parser parser = new Parser("f(X,Y) -> f(X-1, Y+1).");

            var form = parser.ParseForm();

            Assert.IsNotNull(form);
            Assert.IsInstanceOfType(form, typeof(FunctionForm));

            var fform = (FunctionForm)form;

            Assert.IsInstanceOfType(fform.Body, typeof(DelayedCallExpression));
        }