code: def test_random_regular_expander_explicit_construction():
      pytest.importorskip("numpy")
      pytest.importorskip("scipy")
      G = nx.random_regular_expander_graph(d=4, n=5)
  
      assert (
          len(G) == 5 and len(G.edges) == 10
      ), "Should be a complete graph"
  
file_path: networkx/networkx/generators/tests/test_expanders.py
imports: import pytest
  import networkx
label_desc: Use image node_id 8 for calling a global function with example usage: test_random_regular_expander_explicit_construction() without return types