code: def testEmpty(self):
      # Zero estimate check results in zero confidence
      emptyAudio = []
      bpmEstimate = 0
      confidence = LoopBpmConfidence()(emptyAudio, bpmEstimate)
      self.assertEquals(0, confidence)
  
      # Non-zero estimate check results in zero confidence
      # The estimation is based on audio length.
      # Different constant input length will result in different estimations.
      emptyAudio = []
      bpmEstimate = 125
      confidence = LoopBpmConfidence()(emptyAudio, bpmEstimate)
      self.assertEquals(0, confidence)
  
file_path: essentia/test/src/unittests/rhythm/test_loopbpmconfidence.py
imports: from essentia_test import *
  from essentia.standard import MonoLoader, LoopBpmConfidence
label_desc: Use image node_id 5 for calling the TestLoopBpmConfidence obj's underlying member method code with example usage: obj.testEmpty() without return types