Пример #1
0
def test_recursiveSubstring_0():
    assert recursiveSubstring("CS8", "CS") == True
Пример #2
0
def test_recursiveSubstring_4():
    for num in '0123456789':
        assert recursiveSubstring('abcdefghijklmnopqrstuvwxyz', num) == False
Пример #3
0
def test_recursiveSubstring_2():
    assert recursiveSubstring('substring', 'string') == True
Пример #4
0
def test_recursiveSubstring_3():
    assert recursiveSubstring('homeownership', 'meow') == True
Пример #5
0
def test_recursiveSubstring_1():
    for alph in 'abcdefg':
        assert recursiveSubstring('abcdefg', alph) == True