code: def test_write_wav(self):
      wav_path = str(Path(PACKAGE_OPS_DIR).joinpath("data/sm1_cln.wav"))
  
      with self.cached_session(use_gpu=False, force_gpu=False) as sess:
          read_wav = ReadWav.params({"speed": 1.0}).instantiate()
          input_data, sample_rate = read_wav(wav_path)
          input_data = input_data
          write_wav = WriteWav.params().instantiate()
          new_path = str(
              Path(PACKAGE_OPS_DIR).joinpath("data/sm1_cln_speed.wav")
          )
          writewav_op = write_wav(new_path, input_data, sample_rate)
          sess.run(writewav_op)
          test_data, test_sample_rate = read_wav(new_path)
          self.assertAllEqual(input_data.eval(), test_data.eval())
          self.assertAllEqual(
              sample_rate.eval(), test_sample_rate.eval()
          )
  
file_path: delta/delta/data/frontend/write_wav_test.py
imports: import delta.compat
  import os
  from pathlib import Path
  from delta.data.frontend.read_wav import ReadWav
  from delta.data.frontend.write_wav import WriteWav
  from core.ops import PACKAGE_OPS_DIR
label_desc: Use image node_id 1 for calling the WriteWavTest obj's underlying member method code with example usage: obj.test_write_wav() without return types