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