fix double-tap zoom tests

This commit is contained in:
Hannes Janetzek 2014-05-04 20:06:31 +02:00
parent 24f699993b
commit db37897740

View File

@ -43,14 +43,14 @@ public class MapEventLayerTest {
@Test
public void doubleTap_shouldAnimateZoom() throws Exception {
simulateDoubleTap();
verify(mockAnimator).animateZoom(300, 2, 0, 0);
verify(mockAnimator).animateZoom(300, 2, 1.0f, -2.0f);
}
@Test
public void doubleTap_shouldAnimateZoomAfterDoubleTouchDrag() throws Exception {
simulateDoubleTouchDragUp();
simulateDoubleTap();
verify(mockAnimator).animateZoom(300, 2, 0, 0);
verify(mockAnimator).animateZoom(300, 2, 1.0f, -2.0f);
}
@Test