def METHOD_NAME(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