aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Matrix44Test.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-21 07:01:29 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-21 07:01:29 +0000
commitb74bdf024930e71ca1be8f874ed49dd0b31449b1 (patch)
tree97202d650dfd9d0234b4ad60226839e897248b5b /tests/Matrix44Test.cpp
parent0dcbece326ce2fa1f9046aa69a21bb99de08714a (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10842 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/Matrix44Test.cpp')
-rw-r--r--tests/Matrix44Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp
index e210fb7410..67af60df90 100644
--- a/tests/Matrix44Test.cpp
+++ b/tests/Matrix44Test.cpp
@@ -375,7 +375,7 @@ static void test_invert(skiatest::Reporter* reporter) {
0, 0, 0, 1};
expected.setRowMajord(expectedInverseRotation);
REPORTER_ASSERT(reporter, nearly_equal(expected, inverse));
-
+
SkMatrix44 affine;
affine.setRotateDegreesAbout(0, 0, 1, 90);
affine.preScale(10, 20, 100);
@@ -510,7 +510,7 @@ static void TestMatrix44(skiatest::Reporter* reporter) {
mat.invert(&inverse);
iden1.setConcat(mat, inverse);
REPORTER_ASSERT(reporter, is_identity(iden1));
-
+
// test mixed-valued matrix inverse
mat.reset();
mat.setScale(1.0e-10, 3.0, 1.0e+10);
@@ -521,12 +521,12 @@ static void TestMatrix44(skiatest::Reporter* reporter) {
mat.invert(&inverse);
iden1.setConcat(mat, inverse);
REPORTER_ASSERT(reporter, is_identity(iden1));
-
+
// test degenerate matrix
mat.reset();
mat.set3x3(1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0);
REPORTER_ASSERT(reporter, !mat.invert(NULL));
-
+
// test rol/col Major getters
{
mat.setTranslate(2, 3, 4);