gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/actionscript.all ops.as
Date: Tue, 07 Aug 2007 03:32:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/08/07 03:32:21

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

Log message:
        * testsuite/actionscript.all/ops.as: two more tests, both  passed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ops.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- ops.as      6 Aug 2007 19:30:47 -0000       1.13
+++ ops.as      7 Aug 2007 03:32:21 -0000       1.14
@@ -20,7 +20,7 @@
  *  Test binary predicates (equal, less_then, greater_then, logical and 
bitwise ops)
  */
 
-rcsid="$Id: ops.as,v 1.13 2007/08/06 19:30:47 strk Exp $";
+rcsid="$Id: ops.as,v 1.14 2007/08/07 03:32:21 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -401,6 +401,14 @@
 y = x << 16;
 check_equals(y, -65536);
 
+x = 4.294967295e+09;
+y = x << 16;
+check_equals(y, -65536);
+
+x = 4.29497e+09;
+y = x << 16;
+check_equals(y, 177209344);
+
 x = 1.9;
 y = x << 2;
 check_equals(y, 4);




reply via email to

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