code: def testConstant(self):
      # Comparing with the results generated from scipy.signal.resample
      ones = np.ones(114, dtype=np.single)
      r = ResampleFFT()
      out = r(ones)
      self.assertAlmostEqualVector(
          out, np.ones(128, dtype=np.single), 1e-5
      )
      r.reset()
      out = r(np.full(114, -1, dtype=np.single))
      self.assertAlmostEqualVector(
          out, np.full(128, -1, dtype=np.single), 1e-5
      )
  
file_path: essentia/test/src/unittests/synthesis/test_resamplefft_standard.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 3 for calling the TestResampleFFT obj's underlying member method code with example usage: obj.testConstant() without return types