code: def test_numerical_dimension_equality(dimension, bounds: tuple):
      dim = dimension(*bounds)
      # Assert equality with identical `Dimension`
      assert dim == dimension(*bounds)
      # Assert inequality with `Dimension`s of differing bounds
      assert dim != dimension(bounds[0], bounds[1] + 1)
      assert dim != dimension(bounds[0] + 1, bounds[1])
  
imports: from hyperparameter_hunter.optimization.backends.skopt.engine import Optimizer
  from hyperparameter_hunter.space.dimensions import Real, Integer, Categorical
  from hyperparameter_hunter.space.space_core import Space, check_dimension, normalize_dimensions
  import numbers
  import numpy
  import pytest
  from sklearn.utils.testing import assert_array_almost_equal, assert_array_equal, assert_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_numerical_dimension_equality(dimension, bounds) without return types