code: def test_hc_params():
      params = {
          "r_mean": 0,
          "r_var": 0.1,
      }
  
      new_hc = hc.HC(params=params)
  
      assert new_hc.r_mean == 0
  
      assert new_hc.r_var == 0.1
  
file_path: opytimizer/tests/opytimizer/optimizers/misc/test_hc.py
imports: import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.misc import hc
  from opytimizer.spaces import search
  from opytimizer.utils import constant
label_desc: Use image node_id 1 for calling a global function with example usage: test_hc_params() without return types