code: def test_intersection_array(self):
      b, c = nx.intersection_array(nx.cycle_graph(5))
      assert b == [2, 1]
      assert c == [1, 1]
      b, c = nx.intersection_array(nx.dodecahedral_graph())
      assert b == [3, 2, 1, 1, 1]
      assert c == [1, 1, 1, 2, 3]
      b, c = nx.intersection_array(nx.icosahedral_graph())
      assert b == [5, 2, 1]
      assert c == [1, 2, 5]
  
file_path: networkx/networkx/algorithms/tests/test_distance_regular.py
imports: import pytest
  import networkx
  from networkx import is_strongly_regular
label_desc: Use image node_id 4 for calling the TestDistanceRegular obj's underlying member method code with example usage: obj.test_intersection_array() without return types