def METHOD_NAME(self):
    for J in range(1, 7):
        for i in range(1, 5):
            lpcoef = wavelets.daub(i)
            k = len(lpcoef)
            x, phi, psi = wavelets.cascade(lpcoef, J)
            assert_(len(x) == len(phi) == len(psi))
            assert_equal(len(x), (k - 1) * 2 ** J)