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 that the cut size is symmetric.
docstr_tok: ["Tests","that","the","cut","size","is","symmetric","."]
code: def test_symmetric(self):
      """Tests that the cut size is symmetric."""
      G = nx.barbell_graph(3, 0)
      S = {0, 1, 4}
      T = {2, 3, 5}
      assert nx.cut_size(G, S, T) == 4
      assert nx.cut_size(G, T, S) == 4
  
imports: import networkx
label_desc: Use image node_id 1 for calling the TestCutSize obj's underlying member method code with example usage: obj.test_symmetric() without return types