def test_get_author_count_i_6():
    ret_val = get_author_count(d_2, 'hooleo')
    assert ret_val == 1
def test_get_author_count_i_4():
    ret_val = get_author_count({}, 'missing')
    assert ret_val == 0
def test_get_author_count_i_5():
    ret_val = get_author_count(d_2, 'mclaren')
    assert ret_val == 0
def test_get_author_count_i_3():
    ret_val = get_author_count({}, 'mclaren')
    assert ret_val == 0
Beispiel #5
0
def test_get_author_count_s_5():
    ret_val = get_author_count(d_2, 'cap')
    assert ret_val == 0
Beispiel #6
0
def test_get_author_count_s_3():
    ret_val = get_author_count({}, 'whoever')
    assert ret_val == 0
Beispiel #7
0
def test_get_author_count_s_2():
    ret_val = get_author_count(d_1, 'cap')
    assert ret_val == 1
Beispiel #8
0
def test_get_author_count_s_1():
    ret_val = get_author_count(d_1, 'jake')
    assert ret_val == 2