diff options
Diffstat (limited to 'experimental/Intersection/BezierClip_Test.cpp')
-rw-r--r-- | experimental/Intersection/BezierClip_Test.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/experimental/Intersection/BezierClip_Test.cpp b/experimental/Intersection/BezierClip_Test.cpp deleted file mode 100644 index 3228d89779..0000000000 --- a/experimental/Intersection/BezierClip_Test.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "CubicIntersection.h" -#include "CubicIntersection_TestData.h" -#include "CubicIntersection_Tests.h" - -void BezierClip_Test() { - for (size_t index = 0; index < tests_count; ++index) { - const Cubic& cubic1 = tests[index][0]; - const Cubic& cubic2 = tests[index][1]; - Cubic reduce1, reduce2; - int order1 = reduceOrder(cubic1, reduce1, kReduceOrder_NoQuadraticsAllowed); - int order2 = reduceOrder(cubic2, reduce2, kReduceOrder_NoQuadraticsAllowed); - if (order1 < 4) { - printf("%s [%d] cubic1 order=%d\n", __FUNCTION__, (int) index, order1); - } - if (order2 < 4) { - printf("%s [%d] cubic2 order=%d\n", __FUNCTION__, (int) index, order2); - } - if (order1 == 4 && order2 == 4) { - double minT = 0; - double maxT = 1; - bezier_clip(reduce1, reduce2, minT, maxT); - } - } -} |