From 80e39a77b16f4396eed230efea1d0b2fc8cbfb00 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Thu, 2 Apr 2009 16:59:40 +0000 Subject: cleanup formating (e.g. no trailing spaces) git-svn-id: http://skia.googlecode.com/svn/trunk@143 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PackBitsTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/PackBitsTest.cpp') diff --git a/tests/PackBitsTest.cpp b/tests/PackBitsTest.cpp index 22de3c3b1d..729467e343 100644 --- a/tests/PackBitsTest.cpp +++ b/tests/PackBitsTest.cpp @@ -23,7 +23,7 @@ static void test_pack16(skiatest::Reporter* reporter) { { gTest2, SK_ARRAY_COUNT(gTest2) }, { gTest3, SK_ARRAY_COUNT(gTest3) } }; - + for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); i++) { uint8_t dst[100]; size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, @@ -34,7 +34,7 @@ static void test_pack16(skiatest::Reporter* reporter) { gTests[i].fCount * sizeof(uint16_t)) == 0; REPORTER_ASSERT(reporter, match); } - + for (int n = 1000; n; n--) { size_t size = 50; uint16_t src[100], src2[100]; @@ -74,7 +74,7 @@ static void test_pack8(skiatest::Reporter* reporter) { { gTest83, SK_ARRAY_COUNT(gTest83) }, { gTest84, SK_ARRAY_COUNT(gTest84) } }; - + for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { uint8_t dst[100]; size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); @@ -103,7 +103,7 @@ static void test_pack8(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, size == srcCount); bool match = memcmp(src, src2, size * sizeof(uint8_t)) == 0; REPORTER_ASSERT(reporter, match); - + for (int j = 0; j < 200; j++) { size_t skip = gRand.nextU() % size; size_t write = gRand.nextU() % size; -- cgit v1.2.3