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

CompileSimpleCommand() private method

private CompileSimpleCommand ( ) : void
return void
        public void CompileSimpleCommand()
        {
            Block block = this.compiler.CompileBlock("nil invokeWith: 10");
            Assert.IsNotNull(block);
            Assert.AreEqual(2, block.NoConstants);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(6, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }
SimpleCompilerTests