def test_citation_phrase_plural_with_more_citations():
    expected = 'Cited 2 times'
    result = citation_phrase(2)

    assert expected == result
def test_citation_phrase_plural_with_zero_citations():
    expected = 'Cited 0 times'
    result = citation_phrase(0)

    assert expected == result
def test_citation_phrase_singular_with_one_citation():
    expected = 'Cited 1 time'
    result = citation_phrase(1)

    assert expected == result
Example #4
0
def test_citation_phrase_plural_with_more_citations():
    expected = 'Cited 2 times'
    result = citation_phrase(2)

    assert expected == result
Example #5
0
def test_citation_phrase_plural_with_zero_citations():
    expected = 'Cited 0 times'
    result = citation_phrase(0)

    assert expected == result
Example #6
0
def test_citation_phrase_singular_with_one_citation():
    expected = 'Cited 1 time'
    result = citation_phrase(1)

    assert expected == result