code: def test_serialize_deserialize_int():
      hp = hp_module.Int("j", 1, 10)
      new_hp = hp_module.deserialize(hp_module.serialize(hp))
      assert repr(hp) == repr(new_hp)
  
      hp = hp_module.Int("j", 1, 10)
      new_hp = hp_types.deserialize(hp_types.serialize(hp))
      assert repr(hp) == repr(new_hp)
  
file_path: keras-tuner/keras_tuner/engine/hyperparameters/hp_types/int_hp_test.py
imports: import pytest
  from keras_tuner import protos
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine.hyperparameters import hp_types
label_desc: Use image node_id 8 for calling a global function with example usage: test_serialize_deserialize_int() without return types