@MediumTest public void testDragWith2Points(){
  long t=System.currentTimeMillis();
  VelocityTracker vt=VelocityTracker.obtain();
  drag(vt,100,200,100,200,2,t,100);
  vt.computeCurrentVelocity(1000);
  assertEquals(1000.0f,vt.getXVelocity());
  assertEquals(1000.0f,vt.getYVelocity());
  vt.recycle();
}

@ MediumTest public void testDragWith2Points ( ) { long t = System . currentTimeMillis ( ) ; VelocityTracker vt = VelocityTracker . obtain ( ) ; drag ( vt , 100 , 200 , 100 , 200 , 2 , t , 100 ) ; vt . computeCurrentVelocity ( 1000 ) ; assertEquals ( 1000.0f , vt . getXVelocity ( ) ) ; assertEquals ( 1000.0f , vt . getYVelocity ( ) ) ; vt . recycle ( ) ; }
test dragging with two points only ( velocity must be an exact value )
