diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-04-02 16:59:40 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-04-02 16:59:40 +0000 |
commit | 80e39a77b16f4396eed230efea1d0b2fc8cbfb00 (patch) | |
tree | 01d340ffe7692fd0d7271b9fd30e151574b1b7e8 /tests/PathTest.cpp | |
parent | 57b799e951064b9328b5c676dcc3b4cb4477cc2b (diff) |
cleanup formating (e.g. no trailing spaces)
git-svn-id: http://skia.googlecode.com/svn/trunk@143 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r-- | tests/PathTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 0e44719220..c17fa45955 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -4,7 +4,7 @@ static void TestPath(skiatest::Reporter* reporter) { SkPath p, p2; SkRect bounds, bounds2; - + REPORTER_ASSERT(reporter, p.isEmpty()); REPORTER_ASSERT(reporter, p.getFillType() == SkPath::kWinding_FillType); REPORTER_ASSERT(reporter, !p.isInverseFillType()); @@ -12,7 +12,7 @@ static void TestPath(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, !(p != p2)); REPORTER_ASSERT(reporter, p.getBounds().isEmpty()); - + bounds.set(0, 0, SK_Scalar1, SK_Scalar1); p.addRect(bounds); REPORTER_ASSERT(reporter, bounds == p.getBounds()); @@ -27,7 +27,7 @@ static void TestPath(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, count == 4); bounds2.set(pts, 4); REPORTER_ASSERT(reporter, bounds == bounds2); - + bounds.offset(SK_Scalar1*3, SK_Scalar1*4); p.offset(SK_Scalar1*3, SK_Scalar1*4); REPORTER_ASSERT(reporter, bounds == p.getBounds()); @@ -37,7 +37,7 @@ static void TestPath(skiatest::Reporter* reporter) { bounds.setEmpty(); REPORTER_ASSERT(reporter, p.isRect(&bounds2)); REPORTER_ASSERT(reporter, bounds == bounds2); - + // now force p to not be a rect bounds.set(0, 0, SK_Scalar1/2, SK_Scalar1/2); p.addRect(bounds); |