code: def testWrongInputSize(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 = [0.1, 0.4, 0.5, 0.2, 0.1, 0.01, 0.04] * 100
      self.assertAlmostEqualVector(
          ERBBands(
              inputSize=1024,
              sampleRate=10,
              highFrequencyBound=4,
              lowFrequencyBound=1,
              numberBands=24,
          )(spec),
          [
              47.16987228,
              47.16987228,
              47.16986847,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.1698761,
              47.1698761,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16987228,
              47.16986847,
              47.16986847,
              47.16986847,
              47.16986847,
              47.16986847,
          ],
          1e-6,
      )
  
file_path: essentia/test/src/unittests/spectral/test_erbbands.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 6 for calling the TestERBBands obj's underlying member method code with example usage: obj.testWrongInputSize() without return types