Index: tests/PathOpsDCubicTest.cpp |
diff --git a/tests/PathOpsDCubicTest.cpp b/tests/PathOpsDCubicTest.cpp |
index b5fe8f744bc6154ea38f4610aafd0982b5c2100b..4b5e7b4b67b72e7b25d1b7b8330295e85097c110 100644 |
--- a/tests/PathOpsDCubicTest.cpp |
+++ b/tests/PathOpsDCubicTest.cpp |
@@ -8,27 +8,6 @@ |
#include "SkPathOpsCubic.h" |
#include "Test.h" |
-static const SkDCubic tests[] = { |
- {{{2, 0}, {3, 1}, {2, 2}, {1, 1}}}, |
- {{{3, 1}, {2, 2}, {1, 1}, {2, 0}}}, |
- {{{3, 0}, {2, 1}, {3, 2}, {1, 1}}}, |
-}; |
- |
-static const size_t tests_count = SK_ARRAY_COUNT(tests); |
- |
-DEF_TEST(PathOpsDCubic, reporter) { |
- for (size_t index = 0; index < tests_count; ++index) { |
- const SkDCubic& cubic = tests[index]; |
- SkASSERT(ValidCubic(cubic)); |
- bool skip; |
- bool result = cubic.clockwise(cubic, &skip); |
- if (!result) { |
- SkDebugf("%s [%d] expected clockwise\n", __FUNCTION__, index); |
- REPORTER_ASSERT(reporter, 0); |
- } |
- } |
-} |
- |
static const SkDCubic hullTests[] = { |
{{{2.6250000819563866, 2.3750000223517418}, {2.833333432674408, 2.3333333432674408}, {3.1111112236976624, 2.3333333134651184}, {3.4074075222015381, 2.3333332538604736}}}, |
}; |