Esempio n. 1
0
 public void PatchDetectOutletValueChangeDuringExecution()
 {
     ChangeOutlet patch = new ChangeOutlet();
     PatchContainer pc = new PatchContainer(patch);
     Assert.IsFalse(patch.output.HasChanged, "#1");
     pc.ExecutePatch();
     Assert.IsTrue(patch.output.HasChanged, "#2");
 }
Esempio n. 2
0
        public void PatchDetectOutletValueChangeDuringExecution()
        {
            ChangeOutlet   patch = new ChangeOutlet();
            PatchContainer pc    = new PatchContainer(patch);

            Assert.IsFalse(patch.output.HasChanged, "#1");
            pc.ExecutePatch();
            Assert.IsTrue(patch.output.HasChanged, "#2");
        }