code: def test_random_int(self):
      d = [1, 10]
      all_opt = set(range(1, 11))
      f = rp._random_int(d)
      t = set(f() for _ in range(10000))
      self.assertSetEqual(all_opt, t, "Low chance to miss numbers")
      self.assertRaises(ValueError, rp._random_int, [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 1 for calling the MyTestCase obj's underlying member method code with example usage: obj.test_random_int() without return types