class_docstr: Unit tests for the :func:`~networkx.waxman_graph` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.waxman_graph","`","function","."]
code: def test_number_of_nodes_1(self):
      G = nx.waxman_graph(50, 0.5, 0.1, seed=42)
      assert len(G) == 50
      G = nx.waxman_graph(range(50), 0.5, 0.1, seed=42)
      assert len(G) == 50
  
imports: import math
  import random
  from itertools import combinations
  import pytest
  import networkx
label_desc: Use image node_id 1 for calling the TestWaxmanGraph obj's underlying member method code with example usage: obj.test_number_of_nodes_1() without return types