'Test smoothing of an image with a single positive pixel'

@pytest.mark.parametrize(u'kernel', KERNELS)
def test_centered_makekernel(self, kernel):

    shape = kernel.array.shape
    x = np.zeros(shape)
    xslice = [slice((sh // 2), ((sh // 2) + 1)) for sh in shape]
    x[xslice] = 1.0
    c2 = convolve_fft(x, kernel, boundary=u'fill')
    c1 = convolve(x, kernel, boundary=u'fill')
    assert_almost_equal(c1, c2, decimal=12)
