Intersection_Tests.h revision 6d0032a8ec680221c2a704cac2391f2a2d77546f
19e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com/* 29e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com * Copyright 2012 Google Inc. 39e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com * 49e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com * Use of this source code is governed by a BSD-style license that can be 59e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com * found in the LICENSE file. 69e49fb63d355446b91d20ff78ad78b297e89a50dcaryclark@google.com */ 7b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.com#if !defined(IN_TEST) 8b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.com #define IN_TEST 1 9b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.com#endif 10b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.com 11d88e0894d0156f4d427b812fec69bfba3eec7a8dcaryclark@google.comvoid ActiveEdge_Test(); 1227accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid ConvexHull_Test(); 1327accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid ConvexHull_X_Test(); 1427accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid CubicBezierClip_Test(); 1527accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid CubicCoincidence_Test(); 1627accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid CubicIntersection_Test(); 1727accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid CubicParameterization_Test(); 1827accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid CubicReduceOrder_Test(); 196d0032a8ec680221c2a704cac2391f2a2d77546fcaryclark@google.comvoid CubicToQuadratics_Test(); 2027accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid Inline_Tests(); 2127accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid Intersection_Tests(); 2227accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid LineCubicIntersection_Test(); 2327accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid LineIntersection_Test(); 2427accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid LineParameter_Test(); 2527accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid LineQuadraticIntersection_Test(); 26a461ff0866526bc51dbd4c4f9f066a727ec21510caryclark@google.comvoid MiniSimplify_Test(); 27fa0588ff672564af1c235a63589573829035a60bcaryclark@google.comvoid SimplifyAddIntersectingTs_Test(); 28b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.comvoid SimplifyAngle_Test(); 2924bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid SimplifyDegenerate4x4TrianglesThreaded_Test(int& ); 30b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.comvoid SimplifyFindNext_Test(); 31b45a1b46ee25e9b19800b028bb1ca925212ac7b4caryclark@google.comvoid SimplifyFindTop_Test(); 321577e8f9c5bc8436cc71d3438c6d0b9f02c38338caryclark@google.comvoid SimplifyNew_Test(); 3324bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid SimplifyNondegenerate4x4TrianglesThreaded_Test(int& ); 34cef7e3fc4bc6223ab0e42ed754e2a09028479c0bcaryclark@google.comvoid SimplifyPolygonPaths_Test(); 354917f17bf6bd8bff7f4b03717dcb02561cf227c9caryclark@google.comvoid SimplifyQuadralateralPaths_Test(); 36a5764233aa6b207c4169fff7fccae567a160a0fdcaryclark@google.comvoid SimplifyQuadraticPaths_Test(); 3724bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid Simplify4x4QuadralateralsThreaded_Test(int& ); 3824bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid Simplify4x4QuadraticsThreaded_Test(int& ); 3924bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid Simplify4x4RectsThreaded_Test(int& ); 40cef7e3fc4bc6223ab0e42ed754e2a09028479c0bcaryclark@google.comvoid SimplifyRectangularPaths_Test(); 41b1c42bbdcff20257b30d155fe014d3e04233de45caryclark@google.comvoid ShapeOps4x4RectsThreaded_Test(int& ); 4224bec79d6f3d71ff97b50db72461a3892bd4f6b5caryclark@google.comvoid QuadLineIntersectThreaded_Test(int& ); 4327accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid QuadraticBezierClip_Test(); 4427accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid QuadraticCoincidence_Test(); 4527accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid QuadraticIntersection_Test(); 4627accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid QuadraticParameterization_Test(); 4727accef223a27fba437f5e825d99edbae20a045bcaryclark@google.comvoid QuadraticReduceOrder_Test(); 48235f56a92f6eb6accbb243e11b3c45e3798f38f2caryclark@google.comvoid QuarticRoot_Test(); 49