diff --git a/BezierKit/BezierKitTests/CubicCurveTests.swift b/BezierKit/BezierKitTests/CubicCurveTests.swift index c2b72b5..3fb8b31 100644 --- a/BezierKit/BezierKitTests/CubicCurveTests.swift +++ b/BezierKit/BezierKitTests/CubicCurveTests.swift @@ -505,6 +505,8 @@ class CubicCurveTests: XCTestCase { XCTAssertEqual(c1.intersections(with: c2, accuracy: 1.0e-8), expectedIntersections) } + // Skip on platforms where CGFloat is 32bit + #if !(arch(i386) || arch(arm) || arch(wasm32)) func testRealWorldNearlyCoincidentCurvesIntersection() { // these curves are nearly coincident over from c1's t = 0.278 to 1.0 // staying roughly 0.0002 distance of eachother @@ -524,6 +526,7 @@ class CubicCurveTests: XCTestCase { XCTAssertEqual(intersections[1].t1, 1) XCTAssertEqual(intersections[1].t2, 0) } + #endif func testIntersectionsCubicButActuallyLinear() { // this test presents a challenge for an implicitization based approach