Improve test coverage
This commit is contained in:
@@ -92,7 +92,8 @@ def testTextCounting_standardCounter():
|
|||||||
"# Heading One\n"
|
"# Heading One\n"
|
||||||
"## Heading Two\n"
|
"## Heading Two\n"
|
||||||
"### Heading Three\n"
|
"### Heading Three\n"
|
||||||
"#### Heading Four\n\n"
|
"###! Heading Four\n"
|
||||||
|
"#### Heading Five\n\n"
|
||||||
"@tag: value\n\n"
|
"@tag: value\n\n"
|
||||||
"% A comment that should not be counted.\n\n"
|
"% A comment that should not be counted.\n\n"
|
||||||
"The first paragraph.\n\n"
|
"The first paragraph.\n\n"
|
||||||
@@ -100,8 +101,8 @@ def testTextCounting_standardCounter():
|
|||||||
"The third paragraph.\n\n"
|
"The third paragraph.\n\n"
|
||||||
"Dashes\u2013and even longer\u2014dashes."
|
"Dashes\u2013and even longer\u2014dashes."
|
||||||
))
|
))
|
||||||
assert cC == 151
|
assert cC == 163
|
||||||
assert wC == 24
|
assert wC == 26
|
||||||
assert pC == 4
|
assert pC == 4
|
||||||
|
|
||||||
# Text Alignment
|
# Text Alignment
|
||||||
|
|||||||
Reference in New Issue
Block a user