code: def test_random_float(self):
      d = [-10, 10]
      f = rp._random_float(d)
      for i in range(100):
          v = f()
          self.assertLessEqual(v, d[1])
          self.assertLessEqual(d[0], v)
      self.assertRaises(ValueError, rp._random_float, [1, 2, 3])
  
file_path: auptimizer/tests/Proposer/test_RandomProposer.py
imports: import unittest
  import os
  import tempfile
  from aup.EE.Job import Job
  from aup.Proposer import RandomProposer
label_desc: Use image node_id 2 for calling the MyTestCase obj's underlying member method code with example usage: obj.test_random_float() without return types