 
 if #available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *) {
   
+    let n = 1024
+    
     AccelerateTests.test("vDSP/DiscreteCosineTransform") {
-        let n = 1024
         
         let source = (0 ..< n).map{ i in
             return sin(Float(i) * 0.05) + sin(Float(i) * 0.025)

        let returnedResult = vDSP.evaluatePolynomial(usingCoefficients: coefficients,
                                                     withVariables: variables)
        
        expectTrue(result.elementsEqual(legacyResult))
        expectTrue(result.elementsEqual(returnedResult))
    }
    
    AccelerateTests.test("vDSP/PolynomialEvaluationDoublePrecision") {

        let returnedResult = vDSP.slidingWindowSum(source,
                                                   usingWindowLength: 3)
        
        expectTrue(elementsAlmostEqual(destination, returnedResult))
        expectTrue(destination.map{ Int($0) }.elementsEqual([23, 31, 24, 19, 12, 15]))
    }
  
    //===----------------------------------------------------------------------===//
    //
    //  Linear interpolation
    //
    //===----------------------------------------------------------------------===//
    
    AccelerateTests.test("vDSP/SinglePrecisionInterpolateBetweenVectors") {
        var result = [Float](repeating: 0, count: n)
