aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GeometryTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-29 21:57:36 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-29 21:57:36 +0000
commitc256cd11e9a04d1488188ed5d40fffbab9b7c0e0 (patch)
tree2759e58e9b119736cc64ead5b62ec88407cfa0b5 /tests/GeometryTest.cpp
parent087d5aafb18b88dfc6c6a5dbf59160c8be914e62 (diff)
remove fragile assert
git-svn-id: http://skia.googlecode.com/svn/trunk@3286 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/GeometryTest.cpp')
-rw-r--r--tests/GeometryTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/GeometryTest.cpp b/tests/GeometryTest.cpp
index 7cee730d47..9a0f78f4a7 100644
--- a/tests/GeometryTest.cpp
+++ b/tests/GeometryTest.cpp
@@ -26,9 +26,8 @@ static void testChopCubic(skiatest::Reporter* reporter) {
};
SkPoint dst[13];
SkScalar tValues[3];
+ // make sure we don't assert internally
int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
- // if we successfully collaps duplicate t-values, we should only get 2 segments
- REPORTER_ASSERT(reporter, 2 == count);
}