class_docstr: Unit tests for the :func:`~networkx.cut_size` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.cut_size","`","function","."]
docstr: Tests for a cut of a single edge.
docstr_tok: ["Tests","for","a","cut","of","a","single","edge","."]
code: def test_single_edge(self):
      """Tests for a cut of a single edge."""
      G = nx.barbell_graph(3, 0)
      S = {0, 1, 2}
      T = {3, 4, 5}
      assert nx.cut_size(G, S, T) == 1
      assert nx.cut_size(G, T, S) == 1
  
imports: import networkx
label_desc: Use image node_id 2 for calling the TestCutSize obj's underlying member method code with example usage: obj.test_single_edge() without return types