gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ops.as
Date: Mon, 27 Aug 2007 03:41:43 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/08/27 03:41:43

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

Log message:
        * testsuite/actionscript.all/ops.as: more tests about NaN.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4109&r2=1.4110
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4109
retrieving revision 1.4110
diff -u -b -r1.4109 -r1.4110
--- ChangeLog   27 Aug 2007 03:06:42 -0000      1.4109
+++ ChangeLog   27 Aug 2007 03:41:42 -0000      1.4110
@@ -1,3 +1,7 @@
+2007-08-27 Zou Lunkai <address@hidden>
+       
+       * testsuite/actionscript.all/ops.as: more tests about NaN.
+         
 2007-08-27 Chad Musick <address@hidden>
 
        * server/BevelFilter.cpp,.h: Fuller conversion to AS compatible

Index: testsuite/actionscript.all/ops.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/actionscript.all/ops.as   25 Aug 2007 19:07:46 -0000      1.20
+++ testsuite/actionscript.all/ops.as   27 Aug 2007 03:41:43 -0000      1.21
@@ -20,7 +20,7 @@
  *  Test binary predicates (equal, less_then, greater_then, logical and 
bitwise ops)
  */
 
-rcsid="$Id: ops.as,v 1.20 2007/08/25 19:07:46 strk Exp $";
+rcsid="$Id: ops.as,v 1.21 2007/08/27 03:41:43 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -61,6 +61,17 @@
 check_equals(false, 0);
 check_equals(false+false, 0);
 
+// for Number
+x = new Number(3);
+y = 3;
+check(x == y);
+
+x = new Number(NaN);
+y = NaN;
+check(isNaN(x));
+check(isNaN(y));
+xcheck(x != y);
+
 // for Arrays
 ary1 = [1,2,3];
 ary2 = [1,2,3];




reply via email to

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