Inheritance Hierarchy
DeltaEngine.Input.Windows.Tests MouseDeviceCounterTests
Namespace: DeltaEngine.Input.Windows.Tests
Assembly: DeltaEngine.Input.Windows.Tests (in DeltaEngine.Input.Windows.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MouseDeviceCounterTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MouseDeviceCounterTests | Initializes a new instance of the MouseDeviceCounterTests class |
Methods
Name | Description | |
---|---|---|
DeviceCounterInMouseProperty | ||
GetNumberOfAvailableMice |
Examples
[Test] public void GetNumberOfAvailableMice() { Assert.DoesNotThrow(delegate { var counter = new MouseDeviceCounter(); Assert.Greater(counter.GetNumberOfAvailableMice(), 0); }); }
[Test] public void DeviceCounterInMouseProperty() { var windowsMouse = GetMouse(); Assert.IsTrue(windowsMouse.IsAvailable); }
See Also