class_docstr: Unit tests for the :func:`~networkx.graph_atlas` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.graph_atlas","`","function","."]
code: def test_graph(self):
      G = graph_atlas(6)
      assert nodes_equal(G.nodes(), range(3))
      assert edges_equal(G.edges(), [(0, 1), (0, 2)])
  
file_path: networkx/networkx/generators/tests/test_atlas.py
imports: from itertools import groupby
  import pytest
  import networkx
  from networkx import graph_atlas, graph_atlas_g
  from networkx.generators.atlas import NUM_GRAPHS
  from networkx.utils import edges_equal, nodes_equal, pairwise
label_desc: Use image node_id 3 for calling the TestAtlasGraph obj's underlying member method code with example usage: obj.test_graph() without return types