def METHOD_NAME(self):
    G = nx.Graph(["ab", "AB", "AC", "BC", "12", "13", "14", "23", "24", "34"])
    truth = {frozenset("ab"), frozenset("ABC"), frozenset("1234")}
    self._check_communities(G, truth)