code: def test_gp_params():
      params = {
          "p_reproduction": 1.0,
          "p_mutation": 0.5,
          "p_crossover": 0.5,
          "prunning_ratio": 0.5,
      }
  
      new_gp = gp.GP(params=params)
  
      assert new_gp.p_reproduction == 1.0
  
      assert new_gp.p_mutation == 0.5
  
      assert new_gp.p_crossover == 0.5
  
      assert new_gp.prunning_ratio == 0.5
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_gp.py
imports: import sys
  import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.evolutionary import gp
  from opytimizer.spaces import tree
label_desc: Use image node_id 1 for calling a global function with example usage: test_gp_params() without return types