code: def test_esa_params():
      params = {"n_electrons": 5}
  
      new_esa = esa.ESA(params=params)
  
      assert new_esa.n_electrons == 5
  
imports: import numpy
  from opytimizer.optimizers.science import esa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_esa_params() without return types