Exemple #1
0
def test_strings_m4():
    """testing func 'longest_seq_with_diff_one'(symbols '!@#$')"""
    print('test_strings_@#$  <============================ actual test code')
    assert ls('@#$') == "Please enter correct input."
Exemple #2
0
def test_numbers_5():
    """testing func 'longest_seq_with_diff_one'(дшые '152, 153, 154, 155, 156')"""
    print('test_numbers_5  <============================ actual test code')
    assert ls('152, 153, 154, 155, 156') == 5
Exemple #3
0
def test_strings_0():
    """testing func 'longest_seq_with_diff_one'(symbols '0')"""
    print('test_strings_0  <============================ actual test code')
    assert ls('0') == 1
Exemple #4
0
def test_numbers_3():
    """testing func 'longest_seq_with_diff_one'(symbols '')"""
    print('test_numbers_5  <============================ actual test code')
    assert ls('') == "Please enter correct input."