code: def test_audio_io_tensor_24(audio_data_24, io_tensor_func):
      """test_audio_io_tensor_24"""
      audio_path, audio_value, audio_rate = audio_data_24
  
      audio_tensor = io_tensor_func(audio_path)
      assert audio_tensor.rate == audio_rate
      assert audio_tensor.shape == audio_value.shape
      assert np.all(audio_tensor.to_tensor() == audio_value)
      for step in [1, 100, 101, 200, 501, 600, 1001, 2000, 5001]:
          indices = list(range(0, 14336, step))
          # TODO: -1 vs. 14336 might need fix
          for start, stop in zip(indices, indices[1:] + [14336]):
              audio_tensor_value = audio_tensor[start:stop]
              audio_value_value = audio_value[start:stop]
              assert audio_tensor_value.shape == audio_value_value.shape
              assert np.all(audio_tensor_value == audio_value_value)
  
file_path: io/tests/test_audio.py
imports: import os
  import sys
  import pytest
  import numpy
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 3 for calling a global function with example usage: test_audio_io_tensor_24(audio_data_24, io_tensor_func) without return types