GetRisingUpdate() public method

Returns true if there is a rising edge and updates the internal state
public GetRisingUpdate ( bool trigger ) : bool
trigger bool Current value of edge triggered state
return bool
 public void AutoUpdateRisingToFalling()
 {
     EdgeTrigger t = new EdgeTrigger();
     t.Update(false);
     Assert.IsTrue(t.GetRisingUpdate(true));
     Assert.IsTrue(t.GetFallingUpdate(false));
 }