2012-01-25 18:57:23 +00:00
|
|
|
#include "CubicIntersection_TestData.h"
|
|
|
|
#include "Intersection_Tests.h"
|
|
|
|
|
|
|
|
void cubecode_test(int test);
|
|
|
|
|
2012-04-26 21:01:06 +00:00
|
|
|
#define TEST_QUADS_FIRST 0
|
2012-04-17 11:40:34 +00:00
|
|
|
|
2012-01-25 18:57:23 +00:00
|
|
|
void Intersection_Tests() {
|
2012-05-22 17:01:14 +00:00
|
|
|
SimplifyNew_Test();
|
2012-07-02 20:27:02 +00:00
|
|
|
Simplify4x4RectsThreaded_Test();
|
2012-05-22 17:01:14 +00:00
|
|
|
SimplifyFindNext_Test();
|
2012-05-18 20:50:33 +00:00
|
|
|
SimplifyFindTop_Test();
|
|
|
|
SimplifyAngle_Test();
|
|
|
|
QuadraticReduceOrder_Test();
|
|
|
|
QuadraticBezierClip_Test();
|
|
|
|
QuadraticIntersection_Test();
|
2012-04-26 21:01:06 +00:00
|
|
|
SimplifyAddIntersectingTs_Test();
|
2012-05-18 20:50:33 +00:00
|
|
|
|
2012-01-25 18:57:23 +00:00
|
|
|
cubecode_test(1);
|
|
|
|
convert_testx();
|
|
|
|
// tests are in dependency / complexity order
|
|
|
|
Inline_Tests();
|
|
|
|
ConvexHull_Test();
|
|
|
|
ConvexHull_X_Test();
|
|
|
|
|
|
|
|
LineParameter_Test();
|
|
|
|
LineIntersection_Test();
|
|
|
|
LineQuadraticIntersection_Test();
|
|
|
|
LineCubicIntersection_Test();
|
|
|
|
|
2012-03-28 16:20:21 +00:00
|
|
|
SimplifyQuadraticPaths_Test();
|
|
|
|
|
2012-03-05 22:01:21 +00:00
|
|
|
SimplifyPolygonPaths_Test();
|
2012-03-20 21:11:59 +00:00
|
|
|
SimplifyRectangularPaths_Test();
|
2012-03-05 22:01:21 +00:00
|
|
|
SimplifyQuadralateralPaths_Test();
|
2012-04-17 11:40:34 +00:00
|
|
|
|
|
|
|
ActiveEdge_Test();
|
2012-04-26 21:01:06 +00:00
|
|
|
#if TEST_QUADS_FIRST
|
2012-04-17 11:40:34 +00:00
|
|
|
Simplify4x4QuadraticsThreaded_Test();
|
|
|
|
#endif
|
2012-03-27 13:23:51 +00:00
|
|
|
SimplifyDegenerate4x4TrianglesThreaded_Test();
|
|
|
|
SimplifyNondegenerate4x4TrianglesThreaded_Test();
|
|
|
|
Simplify4x4QuadralateralsThreaded_Test();
|
2012-04-17 11:40:34 +00:00
|
|
|
#if !TEST_QUADS_FIRST
|
|
|
|
Simplify4x4QuadraticsThreaded_Test();
|
|
|
|
#endif
|
2012-03-27 13:23:51 +00:00
|
|
|
|
2012-01-25 18:57:23 +00:00
|
|
|
QuadraticCoincidence_Test();
|
|
|
|
QuadraticIntersection_Test();
|
|
|
|
|
|
|
|
CubicParameterization_Test();
|
|
|
|
CubicCoincidence_Test();
|
|
|
|
CubicReduceOrder_Test();
|
|
|
|
CubicBezierClip_Test();
|
|
|
|
CubicIntersection_Test();
|
2012-02-03 22:07:47 +00:00
|
|
|
|
2012-01-25 18:57:23 +00:00
|
|
|
}
|