Example #1
0
def testIndexInList6():
    index = 7
    lst = [3, 8, 2, 3, 1, 1, 9, 5, 6, 5, 5]
    assert survey.IndexInList(index, lst) == True
Example #2
0
def testIndexInList5():
    index = 15
    lst = [3, 8, 2, 3, 1, 1, 9, 5, 6, 5, 5, 2, 1, 3, 2, 3, 10]
    assert survey.IndexInList(index, lst) == True
Example #3
0
def testIndexInList4():
    index = 4
    lst = [4, 7, 2, 9, 10, 0]
    assert survey.IndexInList(index, lst) == True
Example #4
0
def testIndexInList3():
    index = 52
    lst = [3, 8, 2, 3, 1, 6, 5, 5, 2, 1, 3, 2, 3, 10]
    assert survey.IndexInList(index, lst) == False
Example #5
0
def testIndexInList2():
    index = 100
    lst = [4, 7, 2, 9, 10, 0]
    assert survey.IndexInList(index, lst) == False
Example #6
0
def testIndexInList():
    index = 9
    lst = [1, 2, 3]
    assert survey.IndexInList(index, lst) == False