Skip to content

Commit

Permalink
try to fix Linux tests not workgin on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hfutrell committed Feb 9, 2021
1 parent 6614378 commit 5973fff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BezierKit/BezierKitTests/Path+VectorBooleanTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -110,6 +112,8 @@ class PathVectorBooleanTests: XCTestCase {
XCTAssertEqual(result, path)
}

#endif

func testUnion() {
let expectedResult = Path(components: [PathComponent(curves:
[
Expand Down

0 comments on commit 5973fff

Please sign in to comment.