code: def testValidOutput(self):
      # test that it yields valid output (which doesn't mean correct output ;)
      loudness, loudness_bands = SingleBeatLoudness(
          frequencyBands=[20, 150]
      )(array(random.rand(8192)))
      self.assert_(not any(numpy.isnan(loudness)))
      self.assert_(not any(numpy.isinf(loudness)))
      self.assert_(all(array(loudness) >= 0.0))
  
      self.assert_(not any(numpy.isnan(loudness_bands)))
      self.assert_(not any(numpy.isinf(loudness_bands)))
      self.assert_(all(array(loudness_bands) >= 0.0))
  
file_path: essentia/test/src/unittests/rhythm/test_singlebeatloudness.py
imports: from numpy import *
  from essentia_test import *
label_desc: Use image node_id 6 for calling the TestSingleBeatLoudness obj's underlying member method code with example usage: obj.testValidOutput() without return types