public void DecompileGetConstants()
{
Block block = new Block();
block.CompileGetConstant(1);
block.CompileGetConstant("foo");
BlockDecompiler decompiler = new BlockDecompiler(block);
var result = decompiler.Decompile();
Assert.IsNotNull(result);
Assert.AreEqual(2, result.Count);
Assert.AreEqual("GetConstant 1", result[0]);
Assert.AreEqual("GetConstant \"foo\"", result[1]);
}