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