public void UpdateTouchState()
 {
     touchCollection.UpdateTouchState(0, NativeTouchInput.FlagTouchDown);
     Assert.AreEqual(State.Pressing, touchCollection.states[0]);
     touchCollection.UpdateTouchState(0, 0);
     Assert.AreEqual(State.Releasing, touchCollection.states[0]);
 }
 public void UpdateTouchState()
 {
     var touchCollection = new TouchCollection(null);
     touchCollection.UpdateTouchState(0, NativeTouchInput.FlagTouchDown);
     Assert.AreEqual(State.Pressing, touchCollection.states[0]);
     touchCollection.UpdateTouchState(0, 0);
     Assert.AreEqual(State.Releasing, touchCollection.states[0]);
 }