AjTalk.Tests.Compiler.ParserTests.CompileBlockWithSourceCode C# (CSharp) 메소드

CompileBlockWithSourceCode() 개인적인 메소드

private CompileBlockWithSourceCode ( ) : void
리턴 void
        public void CompileBlockWithSourceCode()
        {
            string source = "nil invokeWith: 10; invokeWith: 20";
            Parser compiler = new Parser(source);
            Block block = compiler.CompileBlock();
            Assert.AreEqual(source, block.SourceCode);
        }
ParserTests