'Check if BoxKernel work properly with even sizes.'

@pytest.mark.parametrize(u'width', WIDTHS_EVEN)
def test_box_kernels_even_size(self, width):

    kernel_1D = Box1DKernel(width)
    assert ((kernel_1D.shape[0] % 2) != 0)
    assert (kernel_1D.array.sum() == 1.0)
    kernel_2D = Box2DKernel(width)
    assert np.all([((_ % 2) != 0) for _ in kernel_2D.shape])
    assert (kernel_2D.array.sum() == 1.0)
