From: commit-bot@chromium.org Date: Tue, 20 Aug 2013 16:28:42 +0000 (+0000) Subject: Tweak Matrix44 test so it'll pass on ChromeOS X-Git-Tag: submit/tizen/20180928.044319~11187 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edd18989acedcf3d8e0061799c895efc589ce19d;p=platform%2Fupstream%2FlibSkiaSharp.git 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 --- diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp index 7e31840144..ef8c3fce50 100644 --- a/tests/Matrix44Test.cpp +++ b/tests/Matrix44Test.cpp @@ -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);