class_docstr: Unit tests for :func:`networkx.generators.lattice.grid_graph`
code: def test_node_input(self):
      G = nx.grid_graph([range(7, 9), range(3, 6)])
      assert len(G) == 2 * 3
      assert nx.is_isomorphic(G, nx.grid_graph([2, 3]))
  
imports: from itertools import product
  import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 2 for calling the TestGridGraph obj's underlying member method code with example usage: obj.test_node_input() without return types