code: def test_gsgp_cross():
      new_gsgp = gsgp.GSGP()
  
      tree_space = tree.TreeSpace(
          n_agents=10,
          n_terminals=2,
          n_variables=1,
          min_depth=1,
          max_depth=5,
          functions=["SUM"],
          lower_bound=[0],
          upper_bound=[10],
      )
  
      new_gsgp._cross(
          tree_space.trees[0],
          tree_space.trees[1],
          tree_space.n_variables,
          1,
          1,
      )
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_gsgp.py
imports: import sys
  import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.evolutionary import gsgp
  from opytimizer.spaces import tree
label_desc: Use image node_id 4 for calling a global function with example usage: test_gsgp_cross() without return types