code: def test_connected_watts_strogatz():
      G = nx.connected_watts_strogatz_graph(
          10, 2, 0.1, tries=10, seed=42
      )
      assert len(G) == 10
      assert G.number_of_edges() == 10
  
imports: import pytest
  import networkx
label_desc: Use image node_id 10 for calling a global function with example usage: test_connected_watts_strogatz() without return types