Intersection_Tests.cpp revision 59823f7f3ba43c7c6bc1fa8c600b093ecb4236aa
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 Simplify4x4QuadralateralsThreaded_Test(); 11 Simplify4x4QuadraticsThreaded_Test(); 12 Simplify4x4RectsThreaded_Test(); 13 SimplifyNondegenerate4x4TrianglesThreaded_Test(); 14 SimplifyDegenerate4x4TrianglesThreaded_Test(); 15 SimplifyFindNext_Test(); 16 SimplifyFindTop_Test(); 17 SimplifyAngle_Test(); 18 QuadraticReduceOrder_Test(); 19 QuadraticBezierClip_Test(); 20 QuadraticIntersection_Test(); 21 SimplifyAddIntersectingTs_Test(); 22 23 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 35 SimplifyQuadraticPaths_Test(); 36 37 SimplifyPolygonPaths_Test(); 38 SimplifyRectangularPaths_Test(); 39 SimplifyQuadralateralPaths_Test(); 40 41 ActiveEdge_Test(); 42 43 QuadraticCoincidence_Test(); 44 QuadraticIntersection_Test(); 45 46 CubicParameterization_Test(); 47 CubicCoincidence_Test(); 48 CubicReduceOrder_Test(); 49 CubicBezierClip_Test(); 50 CubicIntersection_Test(); 51 52} 53