AjTalk.Tests.Compiler.VmCompilerTests.CompileIntegerArray C# (CSharp) 메소드

CompileIntegerArray() 개인적인 메소드

private CompileIntegerArray ( ) : void
리턴 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]);
        }