ecore: animator can get called with the same value due to rounding and range limit.
authorCedric Bail <cedric.bail@samsung.com>
Mon, 20 May 2013 09:59:43 +0000 (18:59 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Mon, 20 May 2013 09:59:43 +0000 (18:59 +0900)
src/tests/ecore/ecore_test_animator.c

index a984eb7..ce9520d 100644 (file)
@@ -11,7 +11,7 @@ static double prev = 0;
 static Eina_Bool _anim_cb(void *data, double pos)
 {
 
-  fail_if(prev >= pos);
+  fail_if(prev > pos);
   prev = pos;
 
   if (pos == 1.0)