class_docstr: Tests text data class.
      
docstr: Tests different shuffle strategies.
          
docstr_tok: ["Tests","different","shuffle","strategies","."]
code: def test_shuffle(self):
      """Tests different shuffle strategies."""
      hparams = copy.copy(self._hparams)
      hparams.update(
          {"shard_and_shuffle": True, "shuffle_buffer_size": 1}
      )
      self._run_and_test(hparams)
  
imports: import tempfile
  import copy
  import numpy
  import tensorflow
  import texar.tf
label_desc: Use image node_id 6 for calling the MonoTextDataTest obj's underlying member method code with example usage: obj.test_shuffle() without return types