code: def testRange(self):
      for dt in get_float_types() + [dtypes.int32, dtypes.int64]:
          sampler = self._Sampler(
              1000, minv=-2, maxv=8, dtype=dt, use_gpu=True
          )
          x = sampler()
          self.assertTrue(-2 <= np.min(x))
          self.assertTrue(np.max(x) < 8)
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_random_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the RandomUniformTest obj's underlying member method code with example usage: obj.testRange() without return types