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

CompileSimpleRealSum() private method

private CompileSimpleRealSum ( ) : void
return void
        public void CompileSimpleRealSum()
        {
            Block block = this.compiler.CompileBlock("1.2 + 3.4");
            Assert.IsNotNull(block);
            Assert.AreEqual(3, block.NoConstants);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(7, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }
SimpleCompilerTests