TouchCollectionTests FindIndexByIdWithExistingId Method Delta Engine Documentation

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

public void FindIndexByIdWithExistingId()
Examples

[Test, CloseAfterFirstFrame]
public void FindIndexByIdWithExistingId()
{
    emptyTouchCollection.ids[5] = 5893;
    Assert.AreEqual(5, emptyTouchCollection.FindIndexByIdOrGetFreeIndex(5893));
}
See Also