gnash-commit
[Top][All Lists]
Advanced

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

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


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Random.as
Date: Tue, 11 Dec 2007 12:45:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   07/12/11 12:45:14

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

Log message:
        Oops. Now it works.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Random.as?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: Random.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Random.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Random.as   11 Dec 2007 12:41:30 -0000      1.1
+++ Random.as   11 Dec 2007 12:45:14 -0000      1.2
@@ -50,10 +50,10 @@
 
 // Check proportion of each number exceeds 10%; should be about
 // 25%.
-check (tally[0] > max / 10);
-check (tally[1] > max / 10);
-check (tally[2] > max / 10);
-check (tally[3] > max / 10);
+check (tally[0] > (max / 10));
+check (tally[1] > (max / 10));
+check (tally[2] > (max / 10));
+check (tally[3] > (max / 10));
 
 check_equals(typeof(tally[4]), "undefined"); // Should not exist
 
@@ -67,10 +67,10 @@
 
 // Check proportion of each number exceeds 10%; should be about
 // 25%.
-check (tally[0] > max / 10);
-check (tally[1] > max / 10);
-check (tally[2] > max / 10);
-check (tally[3] > max / 10);
+check (tally[0] > (max / 10));
+check (tally[1] > (max / 10));
+check (tally[2] > (max / 10));
+check (tally[3] > (max / 10));
 
 check_equals(typeof(tally[4]), "undefined"); // Should not exist
 
@@ -106,34 +106,34 @@
 check_equals(typeof(tally[0]), "undefined"); // Should not exist
 note(tally[0]);
 
-check (tally[1] > max / 20);
+check (tally[1] > (max / 20));
 note(tally[1]);
 
-check (tally[2] > max / 20);
+check (tally[2] > (max / 20));
 note(tally[2]);
 
-check (tally[3] > max / 20);
+check (tally[3] > (max / 20));
 note(tally[3]);
 
-check (tally[4] > max / 20);
+check (tally[4] > (max / 20));
 note(tally[4]);
 
-check (tally[5] > max / 20);
+check (tally[5] > (max / 20));
 note(tally[5]);
 
-check (tally[6] > max / 20);
+check (tally[6] > (max / 20));
 note(tally[6]);
 
-check (tally[7] > max / 20);
+check (tally[7] > (max / 20));
 note(tally[7]);
 
-check (tally[8] > max / 20);
+check (tally[8] > (max / 20));
 note(tally[8]);
 
-check (tally[9] > max / 20);
+check (tally[9] > (max / 20));
 note(tally[9]);
 
-check (tally[10] > max / 20);
+check (tally[10] > (max / 20));
 note(tally[10]);
 
 check_equals(typeof(tally[11]), "undefined"); // Should not exist




reply via email to

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