public void CompileAndRunWithGlobal()
{
Block block;
block = new Block();
block.CompileGetConstant(10);
block.CompileSet("Global");
Machine machine = new Machine();
block.Execute(machine, null);
Assert.AreEqual(10, machine.GetGlobalObject("Global"));
}