Exemplo n.º 1
0
def test_recursiveSubstring_0():
    assert recursiveSubstring("CS8", "CS") == True
Exemplo n.º 2
0
def test_recursiveSubstring_4():
    for num in '0123456789':
        assert recursiveSubstring('abcdefghijklmnopqrstuvwxyz', num) == False
Exemplo n.º 3
0
def test_recursiveSubstring_2():
    assert recursiveSubstring('substring', 'string') == True
Exemplo n.º 4
0
def test_recursiveSubstring_3():
    assert recursiveSubstring('homeownership', 'meow') == True
Exemplo n.º 5
0
def test_recursiveSubstring_1():
    for alph in 'abcdefg':
        assert recursiveSubstring('abcdefg', alph) == True