Tweak Matrix44 test so it'll pass on ChromeOS

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
This commit is contained in:
commit-bot@chromium.org 2013-08-20 16:28:42 +00:00
parent fd040116c5
commit edd18989ac

View 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);