blob: 414b911a371e2b66177ce67353542a1c4449fff8 [file] [log] [blame]
caryclark@google.com27accef2012-01-25 18:57:23 +00001#include "CubicIntersection_TestData.h"
2#include "Intersection_Tests.h"
3
4void cubecode_test(int test);
5
caryclark@google.comfa0588f2012-04-26 21:01:06 +00006#define TEST_QUADS_FIRST 0
caryclark@google.com78e17132012-04-17 11:40:34 +00007
caryclark@google.com27accef2012-01-25 18:57:23 +00008void Intersection_Tests() {
caryclark@google.com1577e8f2012-05-22 17:01:14 +00009 SimplifyNew_Test();
caryclark@google.com59823f72012-08-09 18:17:47 +000010 Simplify4x4QuadralateralsThreaded_Test();
11 Simplify4x4QuadraticsThreaded_Test();
caryclark@google.com8dcf1142012-07-02 20:27:02 +000012 Simplify4x4RectsThreaded_Test();
caryclark@google.com59823f72012-08-09 18:17:47 +000013 SimplifyNondegenerate4x4TrianglesThreaded_Test();
14 SimplifyDegenerate4x4TrianglesThreaded_Test();
caryclark@google.com1577e8f2012-05-22 17:01:14 +000015 SimplifyFindNext_Test();
caryclark@google.comb45a1b42012-05-18 20:50:33 +000016 SimplifyFindTop_Test();
17 SimplifyAngle_Test();
18 QuadraticReduceOrder_Test();
19 QuadraticBezierClip_Test();
20 QuadraticIntersection_Test();
caryclark@google.comfa0588f2012-04-26 21:01:06 +000021 SimplifyAddIntersectingTs_Test();
caryclark@google.comb45a1b42012-05-18 20:50:33 +000022
caryclark@google.com27accef2012-01-25 18:57:23 +000023 cubecode_test(1);
24 convert_testx();
25 // tests are in dependency / complexity order
26 Inline_Tests();
27 ConvexHull_Test();
28 ConvexHull_X_Test();
29
30 LineParameter_Test();
31 LineIntersection_Test();
32 LineQuadraticIntersection_Test();
33 LineCubicIntersection_Test();
34
caryclark@google.coma5764232012-03-28 16:20:21 +000035 SimplifyQuadraticPaths_Test();
36
caryclark@google.com4917f172012-03-05 22:01:21 +000037 SimplifyPolygonPaths_Test();
caryclark@google.com2e7f4c82012-03-20 21:11:59 +000038 SimplifyRectangularPaths_Test();
caryclark@google.com4917f172012-03-05 22:01:21 +000039 SimplifyQuadralateralPaths_Test();
caryclark@google.com78e17132012-04-17 11:40:34 +000040
caryclark@google.com78e17132012-04-17 11:40:34 +000041 ActiveEdge_Test();
caryclark@google.comd88e0892012-03-27 13:23:51 +000042
caryclark@google.com27accef2012-01-25 18:57:23 +000043 QuadraticCoincidence_Test();
caryclark@google.com27accef2012-01-25 18:57:23 +000044 QuadraticIntersection_Test();
45
46 CubicParameterization_Test();
47 CubicCoincidence_Test();
48 CubicReduceOrder_Test();
49 CubicBezierClip_Test();
50 CubicIntersection_Test();
caryclark@google.comc6825902012-02-03 22:07:47 +000051
caryclark@google.com27accef2012-01-25 18:57:23 +000052}