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

ExecuteTrueIfFalse() 개인적인 메소드

private ExecuteTrueIfFalse ( ) : void
리턴 void
        public void ExecuteTrueIfFalse()
        {
            Machine machine = new Machine();

            Block block = this.compiler.CompileBlock("true ifFalse: [GlobalName := 'foo']");

            Assert.IsNotNull(block);

            block.Execute(machine, null);

            Assert.IsNull(machine.GetGlobalObject("GlobalName"));
        }