code: def test_normalize_integer():
      for dtype in [
          "int",
          "int8",
          "int16",
          "int32",
          "int64",
          "uint8",
          "uint16",
          "uint32",
          "uint64",
      ]:
          a = Integer(2, 30, transform="normalize", dtype=dtype)
          for X in range(2, 31):
              X_orig = a.inverse_transform(a.transform(X))
              assert_array_equal(X_orig, X)
      for dtype in [
          int,
          np.int8,
          np.int16,
          np.int32,
          np.int64,
          np.uint8,
          np.uint16,
          np.uint32,
          np.uint64,
      ]:
          a = Integer(2, 30, transform="normalize", dtype=dtype)
          for X in range(2, 31):
              X_orig = a.inverse_transform(a.transform(X))
              assert_array_equal(X_orig, X)
              assert isinstance(X_orig, dtype)
  
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 22 for calling a global function with example usage: test_normalize_integer() without return types