2012-08-27 14:11:33 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
2012-05-18 20:50:33 +00:00
|
|
|
#if !defined(IN_TEST)
|
|
|
|
#define IN_TEST 1
|
|
|
|
#endif
|
|
|
|
|
2012-03-27 13:23:51 +00:00
|
|
|
void ActiveEdge_Test();
|
2012-01-25 18:57:23 +00:00
|
|
|
void ConvexHull_Test();
|
|
|
|
void ConvexHull_X_Test();
|
|
|
|
void CubicBezierClip_Test();
|
|
|
|
void CubicCoincidence_Test();
|
|
|
|
void CubicIntersection_Test();
|
|
|
|
void CubicParameterization_Test();
|
|
|
|
void CubicReduceOrder_Test();
|
|
|
|
void Inline_Tests();
|
|
|
|
void Intersection_Tests();
|
|
|
|
void LineCubicIntersection_Test();
|
|
|
|
void LineIntersection_Test();
|
|
|
|
void LineParameter_Test();
|
|
|
|
void LineQuadraticIntersection_Test();
|
2012-04-26 21:01:06 +00:00
|
|
|
void SimplifyAddIntersectingTs_Test();
|
2012-05-18 20:50:33 +00:00
|
|
|
void SimplifyAngle_Test();
|
2012-08-20 12:43:57 +00:00
|
|
|
void SimplifyDegenerate4x4TrianglesThreaded_Test(int& );
|
2012-05-18 20:50:33 +00:00
|
|
|
void SimplifyFindNext_Test();
|
|
|
|
void SimplifyFindTop_Test();
|
2012-05-22 17:01:14 +00:00
|
|
|
void SimplifyNew_Test();
|
2012-08-20 12:43:57 +00:00
|
|
|
void SimplifyNondegenerate4x4TrianglesThreaded_Test(int& );
|
2012-02-28 16:57:05 +00:00
|
|
|
void SimplifyPolygonPaths_Test();
|
2012-03-05 22:01:21 +00:00
|
|
|
void SimplifyQuadralateralPaths_Test();
|
2012-03-28 16:20:21 +00:00
|
|
|
void SimplifyQuadraticPaths_Test();
|
2012-08-20 12:43:57 +00:00
|
|
|
void Simplify4x4QuadralateralsThreaded_Test(int& );
|
|
|
|
void Simplify4x4QuadraticsThreaded_Test(int& );
|
|
|
|
void Simplify4x4RectsThreaded_Test(int& );
|
2012-02-28 16:57:05 +00:00
|
|
|
void SimplifyRectangularPaths_Test();
|
2012-08-20 12:43:57 +00:00
|
|
|
void QuadLineIntersectThreaded_Test(int& );
|
2012-01-25 18:57:23 +00:00
|
|
|
void QuadraticBezierClip_Test();
|
|
|
|
void QuadraticCoincidence_Test();
|
|
|
|
void QuadraticIntersection_Test();
|
|
|
|
void QuadraticParameterization_Test();
|
|
|
|
void QuadraticReduceOrder_Test();
|