Exemple #1
0
 public void WheelLeftTest()
 {
     sender.WheelLeft();
     Assert.AreEqual(keyboardEvents.Count, 0);
     Assert.AreEqual(mouseEvents.Count, 1);
     Assert.AreEqual(mouseEvents[0].Item1, LowLevelMouseHook.Event.WM_MOUSEHWHEEL);
     Assert.AreEqual(mouseEvents[0].Item2.mouseData.asWheelDelta.delta, -120);
 }