def testIndexInList6(): index = 7 lst = [3, 8, 2, 3, 1, 1, 9, 5, 6, 5, 5] assert survey.IndexInList(index, lst) == True
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
def testIndexInList4(): index = 4 lst = [4, 7, 2, 9, 10, 0] assert survey.IndexInList(index, lst) == True
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
def testIndexInList2(): index = 100 lst = [4, 7, 2, 9, 10, 0] assert survey.IndexInList(index, lst) == False
def testIndexInList(): index = 9 lst = [1, 2, 3] assert survey.IndexInList(index, lst) == False