code: def _test_libritts(self, dataset):
      n_ites = 0
      for i, (
          waveform,
          sample_rate,
          original_text,
          normalized_text,
          speaker_id,
          chapter_id,
          utterance_id,
      ) in enumerate(dataset):
          expected_ids = self._utterance_ids[i]
          expected_data = self.data[i]
          self.assertEqual(
              expected_data, waveform, atol=5e-5, rtol=1e-8
          )
          assert sample_rate == 24000
          assert speaker_id == expected_ids[0]
          assert chapter_id == expected_ids[1]
          assert original_text == self._original_text
          assert normalized_text == self._normalized_text
          assert (
              utterance_id
              == f'{"_".join(str(u) for u in expected_ids[-4:])}'
          )
          n_ites += 1
      assert n_ites == len(self._utterance_ids)
  
file_path: audio/test/torchaudio_unittest/datasets/libritts_test.py
imports: import os
  from pathlib import Path
  from torchaudio.datasets.libritts import LIBRITTS
  from torchaudio_unittest.common_utils import get_whitenoise, normalize_wav, save_wav, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 2 for calling the TestLibriTTS obj's underlying member method code with example usage: obj._test_libritts(dataset) without return types