code: def test_white_harary1():
      # Figure 1b white and harary (2001)
      # A graph with high adhesion (edge connectivity) and low cohesion
      # (node connectivity)
      G = nx.disjoint_union(nx.complete_graph(4), nx.complete_graph(4))
      G.remove_node(7)
      for i in range(4, 7):
          G.add_edge(0, i)
      G = nx.disjoint_union(G, nx.complete_graph(4))
      G.remove_node(G.order() - 1)
      for i in range(7, 10):
          G.add_edge(0, i)
      assert 1 == approx.node_connectivity(G)
  
imports: import pytest
  import networkx
  from networkx.algorithms import approximation
label_desc: Use image node_id 2 for calling a global function with example usage: test_white_harary1() without return types