code: def test10Impulses(self):
      # the first 100 zeros are padding to reach frequency 100Hz, which is
      # the minimum frequency used in spectralComplexity
      spectrum = [0] * 100 + [0, 1, 10, 1, 0] * 10
      sc = SpectralComplexity(
          magnitudeThreshold=9.9, sampleRate=len(spectrum) * 2
      )
      self.assertEqual(sc(spectrum), 10)
  
imports: from essentia_test import *
label_desc: Use image node_id 5 for calling the TestSpectralComplexity obj's underlying member method code with example usage: obj.test10Impulses() without return types