     let accuracy = 1.0e-5
 
     func testEvaluation() {
-        let scratchPad = UnsafeMutableBufferPointer<Double>.allocate(capacity: 5)
-        defer { scratchPad.deallocate() }
-
         let point = BerenStein0(b0: 3.0)
         XCTAssertEqual(point.f(0), 3)
         XCTAssertEqual(point.f(0.5), 3)

    }

    func testDegree2() {
        let scratchPad = UnsafeMutableBufferPointer<Double>.allocate(capacity: 3)
        defer { scratchPad.deallocate() }
        let polynomial = BerenStein2(b0: -5, b1: -6, b2: -4)
        let roots = findRoots(of: polynomial, between: -10, and: 10)
        XCTAssertEqual(roots[0], -1, accuracy: accuracy)

    }

    func testDegree1() {
        let polynomial = BerenStein1(b0: -3, b1: 2)
        let roots = findRoots(of: polynomial, between: -1, and: 1)
        XCTAssertEqual(roots.count, 1)
