AjTalk.Tests.Compiler.VmCompilerTests.CompileSimpleSum C# (CSharp) Method

CompileSimpleSum() private method

private CompileSimpleSum ( ) : void
return 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);
        }