code: def test_independent_set():
      # smoke test
      G = nx.Graph()
      assert len(maximum_independent_set(G)) == 0
  
file_path: networkx/networkx/algorithms/approximation/tests/test_clique.py
imports: import networkx
  from networkx.algorithms.approximation import clique_removal, large_clique_size, max_clique, maximum_independent_set
label_desc: Use image node_id 4 for calling a global function with example usage: test_independent_set() without return types