code: def testDuplicatePeaks(self):
      # Similar test but for duplicte peaks.
      # "Mirrors" test3DuplicatePeaks, test case in PitchSalienceFunction.
      freq_speaks = [55, 55, 55]
      mag_speaks = [1, 1, 1]
      calculatedPitchSalience = PitchSalienceFunction()(
          freq_speaks, mag_speaks
      )
      bins, values = PitchSalienceFunctionPeaks()(
          calculatedPitchSalience
      )
      self.assertEqualVector(bins, [0.0])
      self.assertEqualVector(values, [3.0])
  
file_path: essentia/test/src/unittests/tonal/test_pitchsaliencefunctionpeaks.py
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 4 for calling the TestPitchSalienceFunctionPeaks obj's underlying member method code with example usage: obj.testDuplicatePeaks() without return types