### Question:
RotateGestureDetector extends ProgressiveGesture<RotateGestureDetector.OnRotateGestureListener> { float getRotationDegreesSinceLast() { MultiFingerDistancesObject distancesObject = pointersDistanceMap.get(new PointerDistancePair(pointerIdList.get(0), pointerIdList.get(1))); double diffRadians = Math.atan2(distancesObject.getPrevFingersDiffY(), distancesObject.getPrevFingersDiffX()) - Math.atan2( distancesObject.getCurrFingersDiffY(), distancesObject.getCurrFingersDiffX()); return (float) Math.toDegrees(diffRadians); } RotateGestureDetector(Context context, AndroidGesturesManager gesturesManager); float getDeltaSinceStart(); float getDeltaSinceLast(); float getAngleThreshold(); void setAngleThreshold(float angleThreshold);  }### Answer:
@Test public void getRotationDegreesSinceLastTest() { gestureDetector.pointerIdList.add(0); gestureDetector.pointerIdList.add(1); gestureDetector.pointersDistanceMap.put( new PointerDistancePair(0, 1), new MultiFingerDistancesObject(300, 0, 275, 15) ); assertEquals(-3.1221304f, gestureDetector.getRotationDegreesSinceLast()); }