code: def test_logn2_integer():
      transformer = LogN(2)
      for X in range(2, 31):
          X_orig = transformer.inverse_transform(
              transformer.transform(X)
          )
          assert_array_equal(int(np.round(X_orig)), X)
  
file_path: scikit-optimize/skopt/tests/test_transformers.py
imports: import pytest
  import numbers
  import numpy
  from numpy.testing import assert_raises
  from numpy.testing import assert_array_equal
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises_regex
  from skopt.space import LogN, Normalize
  from skopt.space.transformers import StringEncoder, LabelEncoder, Identity
label_desc: Use image node_id 1 for calling a global function with example usage: test_logn2_integer() without return types