A generalized summation by parts algorithm is presented for solving of difference equations of the form Tm(y)−a[u]y=b[u] where T denotes the shift uj→uj+1. Solvability of such type of equations with respect to coefficients of formal symmetry (or formal recursion operator) provides a convenient integrability test for evolutionary differential-difference equations u,t=f(u−m,…,um). The algorithm is implemented in {\em Mathematica}.