code: def test_value_range(self, dtype):
      a = testing.shaped_random(self.shape, self.xp, dtype)
      assert self.xp.all(0 <= a)
      assert self.xp.all(a < 10)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestShapedRandom obj's underlying member method code with example usage: obj.test_value_range(dtype) without return types