def test_long_substr2(): data = ['abc', 'abd', 'abf', 'ab'] nt.assert_equal(text.long_substr(data), 'ab')
def test_long_substr_empty(): data = [] nt.assert_equal(text.long_substr(data), '')
def test_long_substr(): data = ['hi'] nt.assert_equal(text.long_substr(data), 'hi')