code: def testUpSampling(self):
      # from 44100 to 48000
      filename = join(resamp_dir, "impulses_1samp_44100.wav")
      left = self.load(filename, "right", 48000)
      self.assertAlmostEqual(sum(left), 30.0 * 48000, 1e-4)
      # from 22050 to 44100
      filename = join(resamp_dir, "impulses_1samp_22050.wav")
      left = self.load(filename, "right", 44100)
      self.assertAlmostEqual(sum(left), 30.0 * 44100, 1e-4)
      # from 22050 to 48000
      left = self.load(filename, "right", 48000)
      self.assertAlmostEqual(sum(left), 30.0 * 48000, 1e-4)
  
imports: from essentia_test import *
  from numpy import fabs
label_desc: Use image node_id 18 for calling the TestMonoLoader obj's underlying member method code with example usage: obj.testUpSampling() without return types