public void TestSynchronousRisingEdgeNotChecked() { using (DigitalInput d = NewInput()) { d.RequestInterrupts(); d.SetUpSourceEdge(false, false); Thread t = new Thread(() => { Thread.Sleep(100); SimData.DIO[0].SetValue(true); }); t.Start(); var retVal = d.WaitForInterrupt(0.5); Assert.AreEqual(WaitResult.Timeout, retVal); } }