def METHOD_NAME(self):
    K_undir = approx.all_pairs_node_connectivity(self.path)
    for source in K_undir:
        for target, k in K_undir[source].items():
            assert k == 1
    K_dir = approx.all_pairs_node_connectivity(self.directed_path)
    for source in K_dir:
        for target, k in K_dir[source].items():
            if source < target:
                assert k == 1
            else:
                assert k == 0