code: def testSampleRates(self):
      self.assertAlmostEqual(
          Duration(sampleRate=48000)(zeros(100)), 100.0 / 48000.0
      )
      self.assertAlmostEqual(
          Duration(sampleRate=22050)(zeros(100)), 100.0 / 22050.0
      )
  
file_path: essentia/test/src/unittests/temporal/test_duration.py
imports: from essentia_test import *
  import essentia.streaming
  from random import randint
label_desc: Use image node_id 5 for calling the TestDuration obj's underlying member method code with example usage: obj.testSampleRates() without return types