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

CompileSymbolArray() private method

private CompileSymbolArray ( ) : void
return void
        public void CompileSymbolArray()
        {
            Parser parser = new Parser("#(a b c)");
            var result = parser.CompileBlock();
            Assert.IsNotNull(result);
            Assert.IsNotNull(result.ByteCodes);
            BlockDecompiler decompiler = new BlockDecompiler(result);
            var ops = decompiler.Decompile();
            Assert.IsNotNull(ops);
            Assert.AreEqual(1, ops.Count);
            Assert.IsTrue(ops[0].StartsWith("GetConstant "));
        }
ParserTests