Intersection_Tests.cpp revision fa0588ff672564af1c235a63589573829035a60b
1#include "CubicIntersection_TestData.h" 2#include "Intersection_Tests.h" 3 4void cubecode_test(int test); 5void testSimplify(); 6 7#define TEST_QUADS_FIRST 0 8 9void Intersection_Tests() { 10 SimplifyAddIntersectingTs_Test(); 11 12 cubecode_test(1); 13 convert_testx(); 14 // tests are in dependency / complexity order 15 Inline_Tests(); 16 ConvexHull_Test(); 17 ConvexHull_X_Test(); 18 19 LineParameter_Test(); 20 LineIntersection_Test(); 21 LineQuadraticIntersection_Test(); 22 LineCubicIntersection_Test(); 23 24 SimplifyQuadraticPaths_Test(); 25 26 SimplifyPolygonPaths_Test(); 27 SimplifyRectangularPaths_Test(); 28 SimplifyQuadralateralPaths_Test(); 29 30 ActiveEdge_Test(); 31#if TEST_QUADS_FIRST 32 Simplify4x4QuadraticsThreaded_Test(); 33#endif 34 SimplifyDegenerate4x4TrianglesThreaded_Test(); 35 SimplifyNondegenerate4x4TrianglesThreaded_Test(); 36 Simplify4x4QuadralateralsThreaded_Test(); 37#if !TEST_QUADS_FIRST 38 Simplify4x4QuadraticsThreaded_Test(); 39#endif 40 41 QuadraticCoincidence_Test(); 42 QuadraticReduceOrder_Test(); 43 QuadraticBezierClip_Test(); 44 QuadraticIntersection_Test(); 45 46 CubicParameterization_Test(); 47 CubicCoincidence_Test(); 48 CubicReduceOrder_Test(); 49 CubicBezierClip_Test(); 50 CubicIntersection_Test(); 51 52} 53