gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as
Date: Wed, 16 Apr 2008 19:36:17 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/04/16 19:36:17

Modified files:
        testsuite/actionscript.all: MovieClip.as 

Log message:
        Correct float comparison

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.124&r2=1.125

Patches:
Index: MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -b -r1.124 -r1.125
--- MovieClip.as        16 Apr 2008 19:16:58 -0000      1.124
+++ MovieClip.as        16 Apr 2008 19:36:17 -0000      1.125
@@ -20,9 +20,9 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.124 2008/04/16 19:16:58 bwy Exp $";
+rcsid="$Id: MovieClip.as,v 1.125 2008/04/16 19:36:17 bwy Exp $";
 
-rcsid="$Id: MovieClip.as,v 1.124 2008/04/16 19:16:58 bwy Exp $";
+rcsid="$Id: MovieClip.as,v 1.125 2008/04/16 19:36:17 bwy Exp $";
 #include "check.as"
 
 // To be called at end of test
@@ -1306,7 +1306,7 @@
     check_equals(static_clip._y, 0);
     
     static_clip._y = 0.09;
-    check(static_clip._y > 0.04999 && static_clip._y < 0.50001);
+    check(static_clip._y > 0.04999 && static_clip._y < 0.050001);
 
     // Gnash can't do this because _x and _y are floats at the
     // moment, but it probably should be able to.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]