code: def test_es_params():
      params = {"child_ratio": 0.5}
  
      new_es = es.ES(params=params)
  
      assert new_es.child_ratio == 0.5
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_es.py
imports: import numpy
  from opytimizer.optimizers.evolutionary import es
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_es_params() without return types