code: def test_ga_params():
      params = {
          "p_selection": 0.75,
          "p_mutation": 0.25,
          "p_crossover": 0.5,
      }
  
      new_ga = ga.GA(params=params)
  
      assert new_ga.p_selection == 0.75
  
      assert new_ga.p_mutation == 0.25
  
      assert new_ga.p_crossover == 0.5
  
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 1 for calling a global function with example usage: test_ga_params() without return types