code: def test_ga_crossover():
      search_space = search.SearchSpace(
          n_agents=10,
          n_variables=2,
          lower_bound=[1, 1],
          upper_bound=[10, 10],
      )
  
      new_ga = ga.GA()
  
      alpha, beta = new_ga._crossover(
          search_space.agents[0], search_space.agents[1]
      )
  
      assert type(alpha).__name__ == "Agent"
      assert type(beta).__name__ == "Agent"
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_ga.py
imports: import numpy
  from opytimizer.optimizers.evolutionary import ga
  from opytimizer.spaces import search
label_desc: Use image node_id 4 for calling a global function with example usage: test_ga_crossover() without return types