Ejemplo n.º 1
0
def test_seven():
    assert python2.seven(2, 4, 6) == True
    assert python2.seven(4, 6, 2) == True
    assert python2.seven(4, 6, 3) == False
    assert python2.seven(4, 60, 9) == False
    assert python2.seven(2, 2, 2) == True
Ejemplo n.º 2
0
def test_seven():
    assert python2.seven("Hello") == 2 
    assert python2.seven("hEelLoooO") == 6
    assert python2.seven("WhitEboarD") == 4
    assert python2.seven("as") == 1
    assert python2.seven("pass") == 1