aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/Intersection/CubicUtilities_Test.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-01-29 10:43:09 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-29 10:43:09 -0800
commit17a2b5473d0144d10749ef8d26a10fbdab580226 (patch)
tree6e1d4b8db55db4dedb6d28f975eef294bd7ab1a8 /experimental/Intersection/CubicUtilities_Test.cpp
parentf75a130c459596c23595d1bf0654863ab5fe3541 (diff)
The original instantiation of pathops was in the experimental/Intersection directory. Anything of value has been copied into the mainline.
The obsolete gyp files are also included, along with a pixman test that never functioned but accidentally referenced some of these deleted files. Review URL: https://codereview.chromium.org/867213004
Diffstat (limited to 'experimental/Intersection/CubicUtilities_Test.cpp')
-rw-r--r--experimental/Intersection/CubicUtilities_Test.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/experimental/Intersection/CubicUtilities_Test.cpp b/experimental/Intersection/CubicUtilities_Test.cpp
deleted file mode 100644
index ee278c108e..0000000000
--- 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);
- }
- }
-}