Example #1
0
def test_long_substr2():
    data = ['abc', 'abd', 'abf', 'ab']
    nt.assert_equal(text.long_substr(data), 'ab')
Example #2
0
def test_long_substr_empty():
    data = []
    nt.assert_equal(text.long_substr(data), '')
Example #3
0
def test_long_substr():
    data = ['hi']
    nt.assert_equal(text.long_substr(data), 'hi')