code: def test_petersen():
      # Actual coefficient is 0
      G = nx.petersen_graph()
      assert average_clustering(
          G, trials=len(G) // 2
      ) == nx.average_clustering(G)
  
file_path: networkx/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py
imports: import networkx
  from networkx.algorithms.approximation import average_clustering
label_desc: Use image node_id 1 for calling a global function with example usage: test_petersen() without return types