code: def compare(self, result, expected):
      self.assertEqual(len(result), len(expected))
      for i in range(len(result)):
          self.assertAlmostEqual(
              result[i][0] - expected[i][0], 0, 0.5 / 32767
          )
          self.assertAlmostEqual(
              result[i][1] - expected[i][1], 0, 0.5 / 32767
          )
  
file_path: essentia/test/src/unittests/io/test_audiowriter_streaming.py
imports: from essentia_test import *
  from essentia.streaming import AudioWriter, AudioLoader
  from essentia.streaming import MonoMixer
  import os
label_desc: Use image node_id 1 for calling the TestAudioWriter_Streaming obj's underlying member method code with example usage: obj.compare(result, expected) without return types