code: def test_lollipop_graph_right_sizes(self, m, n):
      G = nx.lollipop_graph(m, n)
      assert nx.number_of_nodes(G) == m + n
      assert nx.number_of_edges(G) == m * (m - 1) / 2 + n
  
imports: import itertools
  import typing
  import pytest
  import networkx
  from networkx.algorithms.isomorphism.isomorph import graph_could_be_isomorphic
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 20 for calling the TestGeneratorClassic obj's underlying member method code with example usage: obj.test_lollipop_graph_right_sizes(m, n) without return types