def METHOD_NAME(self):
    # This test makes sure that even though the inputSize given at
    # configure time does not match the input spectrum, the algorithm does
    # not crash and correctly resizes internal structures to avoid errors.
    spec = [.1,.4,.5,.2,.1,.01,.04]*100
    # Save results in a csv file. Use only for debugging purposes.
    # np.savetxt("out.csv", TriangularBarkBands(inputSize=1024, sampleRate=10, highFrequencyBound=4)(spec), delimiter=',')
    self.assertAlmostEqualVector(
            TriangularBarkBands(inputSize=1024, sampleRate=10, highFrequencyBound=4)(spec),
            [0.0460643246769905]*24,
            1e-6)