def assert_parameters(N, k_over_2, beta):
    """Assert that `N` is integer, `k_over_2` is integer and `0 <= beta <= 1`"""
    assert k_over_2 == int(k_over_2)
    assert N == int(N)
    assert beta >= 0.0
    assert beta <= 1.0
