Example #1
0
def test_has_pair_true_2():
    assert has_pair("112233") == True
Example #2
0
def test_has_pair_false_2():
    assert has_pair("777999") == False
Example #3
0
def test_has_pair_true():
    assert has_pair("111122") == True
Example #4
0
def test_has_pair_false():
    assert has_pair("123444") == False
Example #5
0
def test_has_pair_true_3():
    assert has_pair("112111") == True
Example #6
0
def test_has_pair_true_2():
    assert has_pair("788888") == True
Example #7
0
def test_has_pair_false_2():
    assert has_pair("123781") == False
Example #8
0
def test_has_pair_true_3():
    assert has_pair("444445") == True