Skip to content

Commit

Permalink
Revert "re-enable test on 32-bit"
Browse files Browse the repository at this point in the history
This reverts commit c0f07d7.
  • Loading branch information
hfutrell committed Jun 28, 2022
1 parent 0ad12fe commit 37572e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BezierKit/BezierKitTests/CubicCurveTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 37572e9

Please sign in to comment.