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: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ops.as
Date: Thu, 02 Aug 2007 21:08:01 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/08/02 21:08:01

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

Log message:
        * testsuite/actionscript.all/ops.as: more tests for 'string' == NaN.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3921&r2=1.3922
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3921
retrieving revision 1.3922
diff -u -b -r1.3921 -r1.3922
--- ChangeLog   2 Aug 2007 20:11:35 -0000       1.3921
+++ ChangeLog   2 Aug 2007 21:08:01 -0000       1.3922
@@ -1,5 +1,6 @@
 2007-08-02 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/ops.as: more tests for 'string' == NaN.
        * server/as_value.cpp (equals): yet another pass at
          abstract equality operator. We're still not there, but
          getting closer.

Index: testsuite/actionscript.all/ops.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/ops.as   2 Aug 2007 20:11:35 -0000       1.8
+++ testsuite/actionscript.all/ops.as   2 Aug 2007 21:08:01 -0000       1.9
@@ -20,7 +20,7 @@
  *  Test binary predicates (equal, less_then, greater_then, logical and 
bitwise ops)
  */
 
-rcsid="$Id: ops.as,v 1.8 2007/08/02 20:11:35 strk Exp $";
+rcsid="$Id: ops.as,v 1.9 2007/08/02 21:08:01 strk Exp $";
 
 #include "check.as"
 
@@ -38,6 +38,12 @@
 check(undefined == undefined);
 check(null==undefined); 
 check(undefined==null); 
+check(! (NaN == 0) );
+check(! (0 == NaN) );
+check(! ('string' == 0) );
+check(! (0 == 'string') );
+check(! ('string' == NaN) );
+check(! (NaN == 'string') );
 check(1==true);
 check(true==1);
 check(2!=true);




reply via email to

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