From db37897740d40d8c6b55e7748f12d34af0d157c4 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sun, 4 May 2014 20:06:31 +0200 Subject: [PATCH] fix double-tap zoom tests --- vtm-tests/test/org/oscim/layers/MapEventLayerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vtm-tests/test/org/oscim/layers/MapEventLayerTest.java b/vtm-tests/test/org/oscim/layers/MapEventLayerTest.java index bb84499e..19d8b2f2 100644 --- a/vtm-tests/test/org/oscim/layers/MapEventLayerTest.java +++ b/vtm-tests/test/org/oscim/layers/MapEventLayerTest.java @@ -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