code: def _test_yesno(self, dataset):
      n_ite = 0
      for i, (waveform, sample_rate, label) in enumerate(dataset):
          expected_label = self.labels[i]
          expected_data = self.data[i]
          self.assertEqual(
              expected_data, waveform, atol=5e-5, rtol=1e-8
          )
          assert sample_rate == 8000
          assert label == expected_label
          n_ite += 1
      assert n_ite == len(self.data)
  
file_path: audio/test/torchaudio_unittest/datasets/yesno_test.py
imports: import os
  from pathlib import Path
  from torchaudio.datasets import yesno
  from torchaudio_unittest.common_utils import get_whitenoise, normalize_wav, save_wav, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 2 for calling the TestYesNo obj's underlying member method code with example usage: obj._test_yesno(dataset) without return types