cedric pushed a commit to branch master.
commit d66517debf864fc7023c744091205334cb72356b
Author: Cedric Bail <[email protected]>
Date: Mon May 20 18:59:43 2013 +0900
ecore: animator can get called with the same value due to rounding and
range limit.
---
src/tests/ecore/ecore_test_animator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/ecore/ecore_test_animator.c
b/src/tests/ecore/ecore_test_animator.c
index a984eb7..ce9520d 100644
--- a/src/tests/ecore/ecore_test_animator.c
+++ b/src/tests/ecore/ecore_test_animator.c
@@ -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)
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d