'Check if kernel attributes are correct.'

def test_check_kernel_attributes(self):

    box = Box2DKernel(5)
    assert (box.truncation == 0)
    assert isinstance(box.model, Box2D)
    assert (box.center == [2, 2])
    box.normalize()
    assert_almost_equal(box._kernel_sum, 1.0, decimal=12)
    assert box.separable
