code: def test_woa_update():
      search_space = search.SearchSpace(
          n_agents=10,
          n_variables=2,
          lower_bound=[0, 0],
          upper_bound=[10, 10],
      )
  
      new_woa = woa.WOA()
  
      new_woa.update(search_space, 1, 10)
  
imports: import numpy
  from opytimizer.optimizers.swarm import woa
  from opytimizer.spaces import search
label_desc: Use image node_id 4 for calling a global function with example usage: test_woa_update() without return types