             }
         }
     }
-
+    
+    #if canImport(CoreGraphics)
+    
     func testPathProjectPerformance() {
         let k: CGFloat = 2.0 * CGFloat.pi * 10
         let maxRadius: CGFloat = 100.0

            _ = path1.subtract(path2, accuracy: 1.0e-3)
        }
    }
}

        }
        return Path(cgPath: cgPath)
    }
    
    #endif
}

class PerformanceTests: XCTestCase {
