AjTalk.Tests.Compiler.SimpleCompilerTests.CompileBlockWithSourceCode C# (CSharp) Method

CompileBlockWithSourceCode() private method

private CompileBlockWithSourceCode ( ) : void
return void
        public void CompileBlockWithSourceCode()
        {
            string source = "nil invokeWith: 10; invokeWith: 20";
            Block block = this.compiler.CompileBlock(source);
            Assert.AreEqual(source, block.SourceCode);
        }
SimpleCompilerTests