code: def testRegression(self):
      # These expected values were obtained from the output
      # of the algorithm SingleBeatLoudness after the commit
      # 3d8fcf5d54844155a5417b1af2399cf87c5ad761
      # For now it is enough to get notified if the algorithm
      # or its dependencies change for any reason, but this
      # does not mean that values are correct as they have
      # not been compared with any other source.
      expected_loudness = 0.2128196358680725
      expected_bands = [
          0.69004405,
          0.2280884,
          0.01353478,
          0.07527339,
          0.01737026,
          0.05698634,
      ]
  
      filename = join(testdata.audio_dir, "recorded", "dubstep.wav")
      fs = 44100.0
      audio = MonoLoader(filename=filename, sampleRate=fs)()
  
      # Take only the 0.2s as it should be a single beat.
      audio = audio[: int(0.2 * fs)]
      loudness, loudness_bands = SingleBeatLoudness()(audio)
  
      self.assertAlmostEqual(loudness, expected_loudness, 1e-6)
      self.assertAlmostEqualVector(loudness_bands, expected_bands, 1e-6)
  
file_path: essentia/test/src/unittests/rhythm/test_singlebeatloudness.py
imports: from numpy import *
  from essentia_test import *
label_desc: Use image node_id 7 for calling the TestSingleBeatLoudness obj's underlying member method code with example usage: obj.testRegression() without return types