def METHOD_NAME(Type):
    kernel_submodule = getattr(dgtal, "kernel")
    Type = getattr(kernel_submodule, Type)
    p = Type(2, 4, 6)
    assert p[0] == 2
    assert p[1] == 4
    assert p[2] == 6
    with pytest.raises(TypeError):
        Type(2,4)