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

CompileSimpleCommandWithParenthesisAndBangKeyword() private method

private CompileSimpleCommandWithParenthesisAndBangKeyword ( ) : void
return void
        public void CompileSimpleCommandWithParenthesisAndBangKeyword()
        {
            Block block = this.compiler.CompileBlock("a := b with: (anObject !nativeMethod: 1)");
            Assert.IsNotNull(block);
            Assert.AreEqual(3, block.NoGlobalNames);
            Assert.AreEqual(3, block.NoConstants);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(14, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }
SimpleCompilerTests