Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: experimental/Intersection/CubicUtilities_Test.cpp

Issue 867213004: remove prototype pathops code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/Intersection/CubicUtilities.cpp ('k') | experimental/Intersection/CurveIntersection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/Intersection/CubicUtilities_Test.cpp
diff --git a/experimental/Intersection/CubicUtilities_Test.cpp b/experimental/Intersection/CubicUtilities_Test.cpp
deleted file mode 100644
index ee278c108e758253ac7920d0812a30db37b8309f..0000000000000000000000000000000000000000
--- a/experimental/Intersection/CubicUtilities_Test.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "Intersection_Tests.h"
-#include "CubicUtilities.h"
-
-const Cubic 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}},
-};
-
-const size_t tests_count = sizeof(tests) / sizeof(tests[0]);
-static size_t firstLineParameterTest = 0;
-
-void CubicUtilities_Test() {
- for (size_t index = firstLineParameterTest; index < tests_count; ++index) {
- const Cubic& cubic = tests[index];
- bool result = clockwise(cubic);
- if (!result) {
- SkDebugf("%s [%d] expected clockwise\n", __FUNCTION__, index);
- SkASSERT(0);
- }
- }
-}
« no previous file with comments | « experimental/Intersection/CubicUtilities.cpp ('k') | experimental/Intersection/CurveIntersection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698