# AUTO GENERATED ON 2022-12-16 AT 17:20:00
# DO NOT EDIT BY HAND!
#
# To regenerate file, run
#
#     python dev/generate-tests.py
#

# fmt: off

import pytest
import kernels

def test_pyawkward_IndexedArray64_validity_1():
    index = [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_2():
    index = [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1]
    length = 3
    lencontent = 2
    isoption = False
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_3():
    index = [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_4():
    index = [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_5():
    index = [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_6():
    index = [1, 2, 2, 3, 0, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_7():
    index = [1, 2, 2, 3, 0, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = False
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_8():
    index = [1, 2, 2, 3, 0, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_9():
    index = [1, 2, 2, 3, 0, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_10():
    index = [1, 2, 2, 3, 0, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_11():
    index = [1, 3, 0, 3, 5, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_12():
    index = [1, 3, 0, 3, 5, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = False
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_13():
    index = [1, 3, 0, 3, 5, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_14():
    index = [1, 3, 0, 3, 5, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_15():
    index = [1, 3, 0, 3, 5, 2, 0, 2, 1, 1]
    length = 3
    lencontent = 1
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_16():
    index = [1, 4, 2, 3, 1, 2, 3, 1, 4, 3, 2, 1, 3, 2, 4, 5, 1, 2, 3, 4, 5]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_17():
    index = [1, 4, 2, 3, 1, 2, 3, 1, 4, 3, 2, 1, 3, 2, 4, 5, 1, 2, 3, 4, 5]
    length = 3
    lencontent = 2
    isoption = False
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_18():
    index = [1, 4, 2, 3, 1, 2, 3, 1, 4, 3, 2, 1, 3, 2, 4, 5, 1, 2, 3, 4, 5]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_19():
    index = [1, 4, 2, 3, 1, 2, 3, 1, 4, 3, 2, 1, 3, 2, 4, 5, 1, 2, 3, 4, 5]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_20():
    index = [1, 4, 2, 3, 1, 2, 3, 1, 4, 3, 2, 1, 3, 2, 4, 5, 1, 2, 3, 4, 5]
    length = 3
    lencontent = 2
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    with pytest.raises(Exception):
        funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_21():
    index = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    length = 3
    lencontent = 5
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_22():
    index = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    length = 3
    lencontent = 5
    isoption = False
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_23():
    index = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    length = 3
    lencontent = 5
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_24():
    index = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    length = 3
    lencontent = 5
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

def test_pyawkward_IndexedArray64_validity_25():
    index = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    length = 3
    lencontent = 5
    isoption = True
    funcPy = getattr(kernels, 'awkward_IndexedArray64_validity')
    funcPy(index=index, length=length, lencontent=lencontent, isoption=isoption)

