Tweak Matrix44 test so it'll pass on ChromeOS
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 20 Aug 2013 16:28:42 +0000 (16:28 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 20 Aug 2013 16:28:42 +0000 (16:28 +0000)
BUG=
R=robertphillips@google.com

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/23093008

git-svn-id: http://skia.googlecode.com/svn/trunk@10822 2bbb7eff-a529-9590-31e7-b0007b416f81

tests/Matrix44Test.cpp

index 7e31840144076e268f5b587bcd6ab5945e1c660e..ef8c3fce500f7353a006ad781448f0d99908c774 100644 (file)
@@ -416,10 +416,10 @@ static void TestMatrix44(skiatest::Reporter* reporter) {
     
     // test mixed-valued matrix inverse
     mat.reset();
-    mat.setScale(1.0e-11, 3.0, 1.0e+11);
+    mat.setScale(1.0e-10, 3.0, 1.0e+10);
     rot.setRotateDegreesAbout(0, 0, -1, 90);
     mat.postConcat(rot);
-    mat.postTranslate(1.0e+11, 3.0, 1.0e-11);
+    mat.postTranslate(1.0e+10, 3.0, 1.0e-10);
     REPORTER_ASSERT(reporter, mat.invert(NULL));
     mat.invert(&inverse);
     iden1.setConcat(mat, inverse);