detect more than one loop in computeconvexity



git-svn-id: http://skia.googlecode.com/svn/trunk@1326 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 82f230d..3884308 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -86,7 +86,7 @@
     spiral.lineTo(.5,.5);
     spiral.lineTo(.5,.75);
     spiral.close();
-//    check_convexity(reporter, spiral, SkPath::kConcave_Convexity);
+    check_convexity(reporter, spiral, SkPath::kConcave_Convexity);
     
     SkPath dent;
     dent.moveTo(0, 0);
@@ -157,7 +157,7 @@
     } gRec[] = {
         { "0 0", SkPath::kUnknown_Convexity },
         { "0 0 10 10", SkPath::kUnknown_Convexity },
-        { "0 0 10 10 20 20 0 0 10 10", SkPath::kUnknown_Convexity },
+        { "0 0 10 10 20 20 0 0 10 10", SkPath::kConcave_Convexity },
         { "0 0 10 10 10 20", SkPath::kConvex_Convexity },
         { "0 0 10 10 10 0", SkPath::kConvex_Convexity },
         { "0 0 10 10 10 0 0 10", SkPath::kConcave_Convexity },