@Test
public void toStringTests() {

    MotionEvent m = MotionEvent.obtain(
            100, SystemClock.uptimeMillis(),
            MotionEvent.ACTION_DOWN, 100, 200, 0);
    TouchEvent t = new TouchEvent(m);
    assertEquals(t.toString(), "TE: X: 100.000000 Y: 200.000000");
}