AjTalk.Tests.Compiler.ParserTests.CompileSimpleCommandWithParenthesis C# (CSharp) Method

CompileSimpleCommandWithParenthesis() private method

private CompileSimpleCommandWithParenthesis ( ) : void
return void
        public void CompileSimpleCommandWithParenthesis()
        {
            Parser compiler = new Parser("a := b with: (anObject class)");
            Block block = compiler.CompileBlock();
            Assert.IsNotNull(block);
            Assert.AreEqual(1, block.NoConstants);
            Assert.AreEqual(3, block.NoGlobalNames);
            Assert.AreEqual(0, block.NoLocals);
            Assert.IsNotNull(block.ByteCodes);
            Assert.AreEqual(10, block.ByteCodes.Length);
            Assert.AreEqual(0, block.Arity);
        }
ParserTests