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