Beispiel #1
0
def test_long_substr_empty():
    data = []
    nt.assert_equals(text.long_substr(data), '')
Beispiel #2
0
def test_long_substr():
    data = ['hi']
    nt.assert_equals(text.long_substr(data), 'hi')
Beispiel #3
0
def test_long_substr2():
    data = ['abc', 'abd', 'abf', 'ab']
    nt.assert_equals(text.long_substr(data), 'ab')
Beispiel #4
0
def test_long_substr_empty():
    data = []
    nt.assert_equal(text.long_substr(data), '')
Beispiel #5
0
def test_long_substr2():
    data = ['abc', 'abd', 'abf', 'ab']
    nt.assert_equal(text.long_substr(data), 'ab')
Beispiel #6
0
def test_long_substr():
    data = ['hi']
    nt.assert_equal(text.long_substr(data), 'hi')
Beispiel #7
0
def test_long_substr2():
    data = ["abc", "abd", "abf", "ab"]
    nt.assert_equal(text.long_substr(data), "ab")
Beispiel #8
0
def test_long_substr():
    data = ["hi"]
    nt.assert_equal(text.long_substr(data), "hi")