code: def test_audio_io_dataset_24(audio_data_24, io_dataset_func):
      """test_audio_io_dataset_24"""
      audio_path, audio_value, _ = audio_data_24
  
      audio_dataset = io_dataset_func(audio_path)
  
      i = 0
      for value in audio_dataset:
          assert value.shape == [2]
          assert np.all(audio_value[i] == value)
          i += 1
      assert i == 14336
  
      audio_dataset = io_dataset_func(audio_path).batch(2)
  
      i = 0
      for value in audio_dataset:
          assert value.shape == [2, 2]
          assert np.all(audio_value[i] == value[0])
          assert np.all(audio_value[i + 1] == value[1])
          i += 2
      assert i == 14336
  
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 4 for calling a global function with example usage: test_audio_io_dataset_24(audio_data_24, io_dataset_func) without return types