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/Matr...


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Matr...
Date: Tue, 10 Jun 2008 14:25:33 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/06/10 14:25:33

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

Log message:
        Some more tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6892&r2=1.6893
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Matrix.as?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6892
retrieving revision 1.6893
diff -u -b -r1.6892 -r1.6893
--- ChangeLog   10 Jun 2008 12:59:24 -0000      1.6892
+++ ChangeLog   10 Jun 2008 14:25:32 -0000      1.6893
@@ -2,6 +2,7 @@
 
        * server/asobj/flash/geom/Point_as{.cpp.h},Matrix_as.cpp: drop auto_ptr
          for intrusive_ptr to pass a Point object.
+       * server/testsuite/actionscript.all/Matrix_as.cpp: uncommitted tests.
 
 2008-06-10 Sandro Santilli <address@hidden>
 

Index: testsuite/actionscript.all/Matrix.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Matrix.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/Matrix.as        9 Jun 2008 12:37:01 -0000       
1.5
+++ testsuite/actionscript.all/Matrix.as        10 Jun 2008 14:25:33 -0000      
1.6
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Matrix.as,v 1.5 2008/06/09 12:37:01 bwy Exp $";
+rcsid="$Id: Matrix.as,v 1.6 2008/06/10 14:25:33 bwy Exp $";
 
 
 // There are lots of floating point calculations here. Comparing them
@@ -190,11 +190,15 @@
 m6.invert();
 check_equals(m6.toString(), "(a=1, b=0, c=0, d=1, tx=0, ty=0)");
 
-// Valid inverse.
+// Valid inverse2.
 m6 = new Matrix(4, 5, 0, 5, 2, 3);
 check_equals(m6.toString(), "(a=4, b=5, c=0, d=5, tx=2, ty=3)");
 m6.invert();
 check_equals(m6.toString(), "(a=0.25, b=-0.25, c=0, d=0.2, tx=-0.5, ty=-0.1)");
+m6.rotate(-0.5);
+check_equals(m6.toString(), "(a=0.0995392558215424, b=-0.339252025123644, 
c=0.0958851077208406, d=0.175516512378075, tx=-0.486733834805607, 
ty=0.151954513113064)");
+m6.invert();
+check_equals(m6.toString(), "(a=3.51033024756149, b=6.78504050247288, 
c=-1.91770215441681, d=1.99078511643085, tx=2, ty=3)");
 
 
 // Rotation applies to translation




reply via email to

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