CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/08/02 05:46:40
Modified files: . : ChangeLog testsuite/actionscript.all: ops.as Log message: * testsuite/actionscript.all/ops.as: more tests, checks to xchecks. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3910&r2=1.3911 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.2&r2=1.3 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3910 retrieving revision 1.3911 diff -u -b -r1.3910 -r1.3911 --- ChangeLog 2 Aug 2007 05:30:13 -0000 1.3910 +++ ChangeLog 2 Aug 2007 05:46:37 -0000 1.3911 @@ -1,3 +1,7 @@ +2007-08-02 Zou Lunkai <[EMAIL PROTECTED]> + + * testsuite/actionscript.all/ops.as: more tests, checks to xchecks. + 2007-08-02 Sandro Santilli <[EMAIL PROTECTED]> * gui/Makefile.am: comment out the _DEPENDENCIES lines. Properly Index: testsuite/actionscript.all/ops.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- testsuite/actionscript.all/ops.as 2 Aug 2007 03:48:32 -0000 1.2 +++ testsuite/actionscript.all/ops.as 2 Aug 2007 05:46:39 -0000 1.3 @@ -20,7 +20,7 @@ * Test binary predicates (equal, less_then, greater_then, logical and bitwise ops) */ -rcsid="$Id: ops.as,v 1.2 2007/08/02 03:48:32 zoulunkai Exp $"; +rcsid="$Id: ops.as,v 1.3 2007/08/02 05:46:39 zoulunkai Exp $"; #include "check.as" @@ -38,6 +38,10 @@ check(undefined == undefined); check(null==undefined); check(undefined==null); +xcheck(1==true); +check(true==1); +check(2!=true); +xcheck(true!=2); // for Arrays ary1 = [1,2,3]; @@ -276,19 +280,19 @@ x = new String("1"); y = new String("3"); -check_equals(x&y, 1); +xcheck_equals(x&y, 1); x = new String("1.0"); y = new String("3.0"); -check_equals(x&y, 1); +xcheck_equals(x&y, 1); x = new String("1.999"); y = new String("3.999"); -check_equals(x&y, 1); +xcheck_equals(x&y, 1); x = new String("3.999"); y = 7; -check_equals(x&y, 3); +xcheck_equals(x&y, 3); x = Number("7.999"); y = 3; @@ -320,11 +324,11 @@ x = new String("1.999"); y = 8.999; -check_equals(x|y, 9); +xcheck_equals(x|y, 9); x = String("1.999"); y = String("8.999"); -check_equals(x|y, 9); +xcheck_equals(x|y, 9); x = 9; y = String("1.5"); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit