[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Glob...
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Glob... |
Date: |
Wed, 26 Mar 2008 17:02:24 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 08/03/26 17:02:24
Modified files:
. : ChangeLog
testsuite/actionscript.all: Global.as
Log message:
More tests for int().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6030&r2=1.6031
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Global.as?cvsroot=gnash&r1=1.49&r2=1.50
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6030
retrieving revision 1.6031
diff -u -b -r1.6030 -r1.6031
--- ChangeLog 26 Mar 2008 16:41:36 -0000 1.6030
+++ ChangeLog 26 Mar 2008 17:02:24 -0000 1.6031
@@ -1,3 +1,7 @@
+2008-03-26 Benjamin Wolsey <address@hidden>
+
+ * testsuite/actionscript.all/Global.as: more tests for int().
+
2008-03-26 Sandro Santilli <address@hidden>
* configure.ac: provide a MING_SUPPORTS_STREAMING_SOUND
Index: testsuite/actionscript.all/Global.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Global.as,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- testsuite/actionscript.all/Global.as 26 Mar 2008 14:15:18 -0000
1.49
+++ testsuite/actionscript.all/Global.as 26 Mar 2008 17:02:24 -0000
1.50
@@ -22,7 +22,7 @@
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Global.as,v 1.49 2008/03/26 14:15:18 bwy Exp $";
+rcsid="$Id: Global.as,v 1.50 2008/03/26 17:02:24 bwy Exp $";
#include "check.as"
#if OUTPUT_VERSION > 5
@@ -415,7 +415,12 @@
check_equals (int("-2147483649"), 2147483647);
check_equals (int("4294967296"), 0);
check_equals (int("-4294967296"), 0);
-
+check_equals(int("1e+45"), 0);
+check_equals(int("1e+5"), 100000);
+check_equals(int("1e+10"), 1410065408);
+check_equals(int("1e+12"), -727379968);
+check_equals(int("1e+14"), 276447232);
+check_equals(int("1.4e+7"), 14000000);
/// Octal (or not)
#if OUTPUT_VERSION < 6
@@ -458,15 +463,15 @@
//------------------------------------------------------------
#if OUTPUT_VERSION == 5
- check_totals(146); // SWF5
+ check_totals(152); // SWF5
#else
# if OUTPUT_VERSION == 6
- check_totals(180); // SWF6
+ check_totals(186); // SWF6
# else
# if OUTPUT_VERSION == 7
- check_totals(162); // SWF7
+ check_totals(168); // SWF7
# else
- check_totals(149); // SWF8+
+ check_totals(155); // SWF8+
# endif
# endif
#endif