Exemple #1
0
 public void GoTriggersEvents()
 {
     _cpu.Go();
     Assert.IsTrue(_cpuHoldEvent.IsSet);
     Assert.IsTrue(_cpuStepEvent.IsSet);
     Assert.AreEqual(1, _cpuHoldEvent.SetCount);
     Assert.AreEqual(1, _cpuStepEvent.SetCount);
     Assert.AreEqual(0, _cpuHoldEvent.ResetCount);
     Assert.AreEqual(0, _cpuStepEvent.ResetCount);
 }