AjTalk.Tests.Compiler.VmCompilerTests.CompileSimpleSum C# (CSharp) Méthode

CompileSimpleSum() private méthode

private CompileSimpleSum ( ) : void
Résultat void
        public void CompileSimpleSum()
        {
            Block block = this.compiler.CompileBlock("1 + 2");
            Assert.IsNotNull(block);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(7, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }