AjTalk.Tests.Compiler.VmCompilerTests.CompileGlobalVariable C# (CSharp) Метод

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

private CompileGlobalVariable ( ) : void
Результат void
        public void CompileGlobalVariable()
        {
            Block block = this.compiler.CompileBlock("AClass");
            Assert.IsNotNull(block);
            Assert.AreEqual(1, block.NoGlobalNames);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(2, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }