code: def testReverseGenerator(self):
      reversing_problem = algorithmic.AlgorithmicReverseBinary40()
      counter = 0
      for d in reversing_problem.generator(3, 8, 10):
          counter += 1
          self.assertEqual(list(reversed(d["inputs"])), d["targets"])
      self.assertEqual(counter, 10)
  
file_path: tensor2tensor/tensor2tensor/data_generators/algorithmic_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from six.moves import range
  from tensor2tensor.data_generators import algorithmic
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the AlgorithmicTest obj's underlying member method code with example usage: obj.testReverseGenerator() without return types