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

Side by Side Diff: experimental/Intersection/Intersection_Tests.cpp

Issue 867213004: remove prototype pathops code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7 #include "CubicIntersection_TestData.h"
8 #include "Intersection_Tests.h"
9
10 void cubecode_test(int test);
11 void parseSVG();
12
13 #define TEST_QUADS_FIRST 0
14
15 void Intersection_Tests() {
16 int testsRun = 0;
17 #if 0
18 CubicIntersection_OneOffTest();
19 CubicIntersection_SelfTest();
20 QuadraticIntersection_IntersectionFinder();
21 QuadraticIntersection_OneOffTest();
22 CubicIntersection_IntersectionFinder();
23 CubicUtilities_Test();
24 #endif
25 SimplifyNew_Test();
26 CubicsToQuadratics_OneOffTest();
27 CubicIntersection_OneOffTest();
28 // CubicIntersection_OneOffTests();
29 #if 0
30 parseSVG();
31 #endif
32 // QuadraticIntersection_PointFinder();
33 ShapeOps4x4CubicsThreaded_Test(testsRun);
34 CubicToQuadratics_Test();
35 QuadraticIntersection_Test();
36 QuarticRoot_Test();
37 CubicIntersection_RandTest();
38 CubicsToQuadratics_RandTest();
39 Simplify4x4RectsThreaded_Test(testsRun);
40 Simplify4x4QuadraticsThreaded_Test(testsRun);
41 QuadLineIntersectThreaded_Test(testsRun);
42 SimplifyNondegenerate4x4TrianglesThreaded_Test(testsRun);
43 SimplifyDegenerate4x4TrianglesThreaded_Test(testsRun);
44 Simplify4x4QuadralateralsThreaded_Test(testsRun);
45 ShapeOps4x4RectsThreaded_Test(testsRun);
46 SkDebugf("%s total testsRun=%d\n", __FUNCTION__, testsRun);
47 LineQuadraticIntersection_Test();
48 MiniSimplify_Test();
49 SimplifyAngle_Test();
50 QuadraticBezierClip_Test();
51 SimplifyFindNext_Test();
52 SimplifyFindTop_Test();
53 QuadraticReduceOrder_Test();
54 SimplifyAddIntersectingTs_Test();
55
56 cubecode_test(1);
57 convert_testx();
58 // tests are in dependency / complexity order
59 Inline_Tests();
60 ConvexHull_Test();
61 ConvexHull_X_Test();
62
63 LineParameter_Test();
64 LineIntersection_Test();
65 LineCubicIntersection_Test();
66
67 SimplifyQuadraticPaths_Test();
68
69 SimplifyPolygonPaths_Test();
70 SimplifyRectangularPaths_Test();
71 SimplifyQuadralateralPaths_Test();
72
73 // ActiveEdge_Test();
74
75 QuadraticCoincidence_Test();
76 QuadraticIntersection_Test();
77
78 CubicParameterization_Test();
79 CubicCoincidence_Test();
80 CubicReduceOrder_Test();
81 CubicBezierClip_Test();
82 CubicIntersection_Test();
83
84 }
OLDNEW
« no previous file with comments | « experimental/Intersection/Intersection_Tests.h ('k') | experimental/Intersection/Intersections.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698