docstr: ...Test uniform random numbers with bounds simulation
          
docstr_tok: ["...","Test","uniform","random","numbers","with","bounds","simulation"]
code: def test_uniform_random_with_bounds(self):
      """...Test uniform random numbers with bounds simulation"""
      a = -2
      b = 5
  
      seeded_sample = [
          -0.4936149,
          0.42605685,
          1.66568447,
          -1.59161653,
          3.85451574,
      ]
  
      self._test_dist_with_seed(seeded_sample, test_uniform, a, b)
  
      # Statistical tests
      sample = test_uniform(a, b, self.stat_size, self.test_seed)
      s_threshold = 0.05
      p_threshold = 0.05
      s, p = stats.kstest(sample, "uniform", (a, b - a))
      self.assertLess(
          s,
          s_threshold,
          "Kolmogorov–Smirnov stat is larger than threshold",
      )
      self.assertGreater(
          p,
          p_threshold,
          "Kolmogorov–Smirnov p-value is smaller than threshold",
      )
  
imports: import unittest
  import multiprocessing
  from multiprocessing.pool import Pool
  import itertools
  import numpy
  import threading
  from scipy import stats
  from tick.random import test_uniform, test_gaussian, test_poisson, test_exponential, test_uniform_int, test_discrete, test_uniform_threaded
label_desc: Use image node_id 6 for calling the Test obj's underlying member method code with example usage: obj.test_uniform_random_with_bounds() without return types