code: def testEnharmonic(self):
      size = 32
      fund_freq = 440
      harms = [
          fund_freq * (pi / 3 + 3 * float(random.rand(1)))
          for i in range(1, size + 1)
      ]
      harms[0] = fund_freq
      harms = array(sort(harms))
      mags = zeros(size)
      mags[0] = 1
      mags[1] = 0.833333
      mags[2] = 0.75
      mags[3] = 0.555555
      mags[7] = 0.211
      mags[15] = 0.05
      self.assertNotEquals(Dissonance()(harms, mags), 0)
  
file_path: essentia/test/src/unittests/tonal/test_dissonance.py
imports: from essentia_test import *
  from numpy import random, pi, sort
label_desc: Use image node_id 8 for calling the TestDissonance obj's underlying member method code with example usage: obj.testEnharmonic() without return types