def METHOD_NAME(self, shape, width):
    """
    Test smoothing of an image with a single positive pixel
    Compares a small uniform kernel to the Box2DKernel
    """
    kernel1 = np.ones([width, width]) / float(width) ** 2
    kernel2 = Box2DKernel(width, mode="oversample", factor=10)
    x = np.zeros(shape)
    xslice = tuple(slice(sh // 2, sh // 2 + 1) for sh in shape)
    x[xslice] = 1.0
    c2 = convolve_fft(x, kernel2, boundary="fill")
    c1 = convolve_fft(x, kernel1, boundary="fill")
    assert_almost_equal(c1, c2, decimal=12)
    c2 = convolve(x, kernel2, boundary="fill")
    c1 = convolve(x, kernel1, boundary="fill")
    assert_almost_equal(c1, c2, decimal=12)