diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-04 02:01:25 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-04 02:01:25 +0000 |
commit | e659c2e820de0b8d12d81247ed4430022ded0a90 (patch) | |
tree | ba9373b0f5e094c78cee6deb3faa72cdcd3e68f4 /tests/Matrix44Test.cpp | |
parent | b8b8ba01f0d52d598e88798f7f90ed3bcc648e23 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6660 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/Matrix44Test.cpp')
-rw-r--r-- | tests/Matrix44Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp index ed8770ae6c..1220f262e0 100644 --- a/tests/Matrix44Test.cpp +++ b/tests/Matrix44Test.cpp @@ -74,10 +74,10 @@ static bool is_identity(const SkMatrix44& m) { static void test_gettype(skiatest::Reporter* reporter) { SkMatrix44 matrix; - + REPORTER_ASSERT(reporter, matrix.isIdentity()); REPORTER_ASSERT(reporter, SkMatrix44::kIdentity_Mask == matrix.getType()); - + int expectedMask; matrix.set(1, 1, 0); @@ -91,7 +91,7 @@ static void test_gettype(skiatest::Reporter* reporter) { matrix.set(2, 0, 1); expectedMask |= SkMatrix44::kAffine_Mask; REPORTER_ASSERT(reporter, matrix.getType() == expectedMask); - + matrix.set(3, 2, 1); REPORTER_ASSERT(reporter, matrix.getType() & SkMatrix44::kPerspective_Mask); } @@ -209,7 +209,7 @@ static void test_set_row_col_major(skiatest::Reporter* reporter) { a.setDouble(row, col, row * 4 + col); } } - + double bufferd[16]; float bufferf[16]; a.asColMajord(bufferd); |