TouchMessageTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Input.Tests TouchMessageTests

Namespace: DeltaEngine.Input.Tests
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class TouchMessageTests

The TouchMessageTests type exposes the following members.

Constructors

  NameDescription
Public methodTouchMessageTests
Initializes a new instance of the TouchMessageTests class
Top
Methods

  NameDescription
Public methodCreateTouchMessage
Public methodVerifyTouchMessagePropertiesAreSet
Top
Examples

[Test]
public void VerifyTouchMessagePropertiesAreSet()
{
    Assert.AreEqual(new []{Vector2D.Half}, touchMessage.Positions);
    Assert.AreEqual(new []{true}, touchMessage.PressedTouches);
}
See Also