code: def testInvalidBpms(self):
      # Ensure that an exception is thrown if any bpm element contains a value below 1
  
      # BPM=1 is the lowest margin allowed.
      self.assertEqualVector(HarmonicBpm(bpm=1, threshold=1)([1]), [1])
  
      # Inputs with invalid BPMs.
      testBpms = [0, 1, 100]
      self.assertRaises(
          EssentiaException, lambda: HarmonicBpm()(testBpms)
      )
      testBpms = [0, -1]
      self.assertRaises(
          EssentiaException, lambda: HarmonicBpm()(testBpms)
      )
      testBpms = [100, 100, 100, 100, 0.9999]
      self.assertRaises(
          EssentiaException, lambda: HarmonicBpm()(testBpms)
      )
      testBpms = zeros(100)
      self.assertRaises(
          EssentiaException, lambda: HarmonicBpm()(testBpms)
      )
  
file_path: essentia/test/src/unittests/rhythm/test_harmonicbpm.py
imports: from essentia_test import *
  import essentia
label_desc: Use image node_id 11 for calling the TestHarmonicBpm obj's underlying member method code with example usage: obj.testInvalidBpms() without return types