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

CompileIntegerArray() private method

private CompileIntegerArray ( ) : void
return void
        public void CompileIntegerArray()
        {
            var result = this.compiler.CompileBlock("#(1 2 3)");
            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.AreEqual("GetConstant System.Object[]", ops[0]);
        }