Inheritance Hierarchy
DeltaEngine.Input.Tests KeyboardMessagesTests
Namespace: DeltaEngine.Input.Tests
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The KeyboardMessagesTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyboardMessagesTests | Initializes a new instance of the KeyboardMessagesTests class |
Methods
Name | Description | |
---|---|---|
CanCreateKeyboardMessageWithoutParameter | ||
CreateKeyboardMessageWithParameter | ||
PressedKeyShouldBeEnter |
Examples
[Test] public void CanCreateKeyboardMessageWithoutParameter() { keyboardMessage = new KeyboardMessage(); Assert.NotNull(keyboardMessage); }
[Test] public void PressedKeyShouldBeEnter() { Assert.AreEqual(new[] { Key.Enter }, keyboardMessage.PressedKeys); }
See Also