code: def test_normalize_bounds():
      bounds = [(-999, 189000), Categorical((True, False))]
      space = Space(normalize_dimensions(bounds))
      for a in np.linspace(1e-9, 0.4999, 1000):
          x = space.inverse_transform([[a, a]])
          check_limits(x[0][0], -999, 189000)
          y = space.transform(x)
          check_limits(y, 0.0, 1.0)
      for a in np.linspace(0.50001, 1e-9 + 1.0, 1000):
          x = space.inverse_transform([[a, a]])
          check_limits(x[0][0], -999, 189000)
          y = space.transform(x)
          check_limits(y, 0.0, 1.0)
  
imports: import pytest
  import numbers
  import numpy
  import os
  import yaml
  from tempfile import NamedTemporaryFile
  from numpy.testing import assert_array_almost_equal
  from numpy.testing import assert_array_equal
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises_regex
  from skopt import Optimizer
  from skopt.space import Space
  from skopt.space import Real
  from skopt.space import Integer
  from skopt.space import Categorical
  from skopt.space import check_dimension
  from skopt.utils import normalize_dimensions
label_desc: Use image node_id 41 for calling a global function with example usage: test_normalize_bounds() without return types