def METHOD_NAME(neigh):
    neigh.compute_neighbors(n_neighbors, method='umap')
    np.testing.assert_allclose(neigh.connectivities.toarray(), connectivities_umap)
    neigh.compute_transitions()
    np.testing.assert_allclose(
        neigh.transitions_sym.toarray(), transitions_sym_umap, rtol=1e-5
    )
    np.testing.assert_allclose(neigh.transitions.toarray(), transitions_umap, rtol=1e-5)