def test_isListOfEvenIntegers_11():
    assert isListOfEvenIntegers([]) == True
def test_isListOfEvenIntegers_9():
    assert isListOfEvenIntegers([2, 4, 6]) == True
def test_isListOfEvenIntegers_10():
    assert isListOfEvenIntegers([2, 3, [4]]) == False
def test_isListOfEvenIntegers_7():
    assert isListOfEvenIntegers([2, 3, 'oops', 5]) == False
def test_isListOfEvenIntegers_8():
    assert isListOfEvenIntegers([2, 3, 4, 5, 6, 7]) == False
def test_isListOfEvenIntegers_5():
    assert isListOfEvenIntegers([3.4]) == False
def test_isListOfEvenIntegers_4():
    assert isListOfEvenIntegers([4]) == True
def test_isListOfEvenIntegers_3():
    assert isListOfEvenIntegers([3]) == False
def test_isListOfEvenIntegers_2():
    assert isListOfEvenIntegers(3) == False
예제 #10
0
def test_isListOfEvenIntegers_1():
    assert isListOfEvenIntegers('Fred') == False