diff options
author | 2012-01-31 15:42:29 +0000 | |
---|---|---|
committer | 2012-01-31 15:42:29 +0000 | |
commit | d414666d18fa9dca1cb310bc66c574aac3d79b72 (patch) | |
tree | 64363c2de3b9870d984c7e72f278475a0da1c0d2 /tests | |
parent | 3a314c3ca2e12cfaefff9bee40d8072fb0ac3089 (diff) |
add additional tests for path direction with multiple pts on y-max
git-svn-id: http://skia.googlecode.com/svn/trunk@3121 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index bab7f87be4..d156e5796d 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -40,6 +40,7 @@ static void test_direction(skiatest::Reporter* reporter) { static const char* gCW[] = { "M 10 10 L 10 10 Q 20 10 20 20", "M 10 10 C 20 10 20 20 20 20", + "M 20 10 Q 20 20 30 20 L 10 20", // test double-back at y-max }; for (i = 0; i < SK_ARRAY_COUNT(gCW); ++i) { path.reset(); @@ -51,6 +52,7 @@ static void test_direction(skiatest::Reporter* reporter) { static const char* gCCW[] = { "M 10 10 L 10 10 Q 20 10 20 -20", "M 10 10 C 20 10 20 -20 20 -20", + "M 20 10 Q 20 20 10 20 L 30 20", // test double-back at y-max }; for (i = 0; i < SK_ARRAY_COUNT(gCCW); ++i) { path.reset(); |