예제 #1
0
def test_11():
    assert countAbc("aaa") == 0
예제 #2
0
def test_9():
    assert countAbc("aba") == 1
예제 #3
0
def test_10():
    assert countAbc("aca") == 0
예제 #4
0
def test_7():
    assert countAbc("") == 0
예제 #5
0
def test_8():
    assert countAbc("ab") == 0
예제 #6
0
def test_5():
    assert countAbc("aaabc") == 1
예제 #7
0
def test_6():
    assert countAbc("hello") == 0
예제 #8
0
def test_4():
    assert countAbc("abxbc") == 0
예제 #9
0
def test_3():
    assert countAbc("ababc") == 2
예제 #10
0
def test_2():
    assert countAbc("abaxxaba") == 2
예제 #11
0
def test_1():
    assert countAbc("abcxxabc") == 2
예제 #12
0
def test_0():
    assert countAbc("abc") == 1