code: def test_goghs_generate_opposition_harmony():
      new_goghs = hs.GOGHS()
  
      search_space = search.SearchSpace(
          n_agents=2,
          n_variables=2,
          lower_bound=[0, 0],
          upper_bound=[10, 10],
      )
  
      agent = new_goghs._generate_opposition_harmony(
          search_space.agents[0], search_space.agents
      )
  
      assert agent.fit > 0
  
imports: import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.evolutionary import hs
  from opytimizer.spaces import search
  from opytimizer.utils import constant
label_desc: Use image node_id 18 for calling a global function with example usage: test_goghs_generate_opposition_harmony() without return types