code: def test_hgso_params():
      params = {
          "n_clusters": 2,
          "l1": 0.0005,
          "l2": 100,
          "l3": 0.001,
          "alpha": 1.0,
          "beta": 1.0,
          "K": 1.0,
      }
  
      new_hgso = hgso.HGSO(params=params)
  
      assert new_hgso.n_clusters == 2
  
      assert new_hgso.l1 == 0.0005
  
      assert new_hgso.l2 == 100
  
      assert new_hgso.l3 == 0.001
  
      assert new_hgso.alpha == 1.0
  
      assert new_hgso.beta == 1.0
  
      assert new_hgso.K == 1.0
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_hgso.py
imports: import numpy
  from opytimizer.optimizers.science import hgso
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_hgso_params() without return types