Refactor PathTest.cpp test_isNestedRects and test_isRect.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Sep 2013 18:21:39 +0000 (18:21 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Sep 2013 18:21:39 +0000 (18:21 +0000)
commitb8d9d5bd29edbdaeabd5478c1d3e71e92c09cd52
tree58d2637f7637a4bea0220810b306697666b616e5
parent592c535c9ecc8cee36688a2fd4cf03448ec16057
Refactor PathTest.cpp test_isNestedRects and test_isRect.

The existing implementations make it difficult to add new tests
and rely on non-local side effects.

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/24502004

git-svn-id: http://skia.googlecode.com/svn/trunk@11455 2bbb7eff-a529-9590-31e7-b0007b416f81
tests/PathTest.cpp