コード例 #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