def test_paragraphs_many(writing_string, expected_count): """Check that it can detect two or more paragraphs""" assert gatorgrader_fragments.count_paragraphs( writing_string) == expected_count
def test_paragraphs_zero_or_one(writing_string, expected_count): """Check that it can detect zero or one paragraphs""" assert gatorgrader_fragments.count_paragraphs( writing_string) == expected_count