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

CompileIntegerArray() private method

private CompileIntegerArray ( ) : void
return void
        public void CompileIntegerArray()
        {
            Parser parser = new Parser("#(1 2 3)");
            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