     }
 
     func testDegree1() {
-        let scratchPad = UnsafeMutableBufferPointer<Double>.allocate(capacity: 2)
-        defer { scratchPad.deallocate() }
         let polynomial = BerenStein1(b0: -3, b1: 2)
         let roots = findRoots(of: polynomial, between: -1, and: 1)
         XCTAssertEqual(roots.count, 1)

    }

    func testDegree5() {
        let scratchPad = UnsafeMutableBufferPointer<Double>.allocate(capacity: 6)
        defer { scratchPad.deallocate() }
        // 0.2x^5 - 0.813333x^3 - 8.56x
        let polynomial = BerenStein5(b0: 0, b1: -1.712, b2: -3.424, b3: -5.2173333, b4: -7.1733332, b5: -9.173333)
        let roots = findRoots(of: polynomial, between: -4, and: 4)

    }

    func testDegree2() {
        let polynomial = BerenStein2(b0: -5, b1: -6, b2: -4)
        let roots = findRoots(of: polynomial, between: -10, and: 10)
        XCTAssertEqual(roots[0], -1, accuracy: accuracy)
