diff --git a/BezierKit/BezierKitTests/Path+VectorBooleanTests.swift b/BezierKit/BezierKitTests/Path+VectorBooleanTests.swift index 1b95356..821b3a3 100644 --- a/BezierKit/BezierKitTests/Path+VectorBooleanTests.swift +++ b/BezierKit/BezierKitTests/Path+VectorBooleanTests.swift @@ -95,6 +95,8 @@ class PathVectorBooleanTests: XCTestCase { ) } + #if canImport(CoreGraphics) + func testSubtractingWinding() { // subtracting should use .evenOdd fill, if it doesn't this test can *add* an inner square instead of doing nothing let path = Path(cgPath: { @@ -110,6 +112,8 @@ class PathVectorBooleanTests: XCTestCase { XCTAssertEqual(result, path) } + #endif + func testUnion() { let expectedResult = Path(components: [PathComponent(curves: [