code: def test_kh_get_neighbours():
      search_space = search.SearchSpace(
          n_agents=5,
          n_variables=2,
          lower_bound=[0, 0],
          upper_bound=[10, 10],
      )
  
      new_kh = kh.KH()
      new_kh.compile(search_space)
  
      distance, eucl_distance = new_kh._sensing_distance(
          search_space.agents, 0
      )
  
      neighbours = new_kh._get_neighbours(
          search_space.agents, 0, distance, eucl_distance
      )
  
      assert len(neighbours) >= 0
  
imports: import numpy
  from opytimizer.optimizers.swarm import kh
  from opytimizer.spaces import search
label_desc: Use image node_id 6 for calling a global function with example usage: test_kh_get_neighbours() without return types