public void TestInitialMousePressOutsideOfControl() { Control control = new Control(); control.ProcessMousePress(MouseButtons.Left); control.ProcessMouseRelease(MouseButtons.Left); }
public void TestIgnoreMousePress() { Control control = new Control(); control.Bounds = new UniRectangle(10.0f, 10.0f, 80.0f, 80.0f); control.ProcessMouseMove(100.0f, 100.0f, 20.0f, 20.0f); control.ProcessMousePress(MouseButtons.Left); control.ProcessMouseRelease(MouseButtons.Left); }