 
 private extension PerformanceTests {
 
-    func generateRandomCurves(count: Int, selfIntersect: Bool, reseed: Int? = nil) -> [CubicCurve] {
+    func generateRandomCurves(count: Int, selfIntersect: Bool? = nil, reseed: Int? = nil) -> [CubicCurve] {
         if let reseed = reseed {
             srand48(reseed) // seed with zero so that "random" values are actually the same across test runs
         }

        // -Onone 0.46 seconds
        // -Os 0.060 seconds
        let dataCount = 50
        let curves = generateRandomCurves(count: dataCount, selfIntersect: false, reseed: 1)
        self.measure {
            var count = 0
            for curve1 in curves {

            }
        }
    }
    
    func testQuadraticCurveProjectPerformance() {
        let q = QuadraticCurve(p0: CGPoint(x: -1, y: -1),
                               p1: CGPoint(x: 0, y: 2),
