docstr: Test if __compute_neighbors() gives the expected matrix
docstr_tok: ["Test","if","__compute_neighbors","(",")","gives","the","expected","matrix"]
file_path: pyswarms/tests/backend/topology/test_random.py
imports: import numpy
  import pytest
  from pyswarms.backend.topology import Random
  from .abc_test_topology import ABCTestTopology
label_desc: Use image node_id 5 for calling the TestRandomTopology obj's underlying member method code with example usage: obj.test_compute_neighbors_adjacency_matrix(swarm, topology, k, static) without return types