Improve test coverage

This commit is contained in:
Veronica Berglyd Olsen
2024-04-13 00:42:26 +02:00
parent 2f55055c75
commit 4c86c1a75a
+4 -3
View File
@@ -92,7 +92,8 @@ def testTextCounting_standardCounter():
"# Heading One\n"
"## Heading Two\n"
"### Heading Three\n"
"#### Heading Four\n\n"
"###! Heading Four\n"
"#### Heading Five\n\n"
"@tag: value\n\n"
"% A comment that should not be counted.\n\n"
"The first paragraph.\n\n"
@@ -100,8 +101,8 @@ def testTextCounting_standardCounter():
"The third paragraph.\n\n"
"Dashes\u2013and even longer\u2014dashes."
))
assert cC == 151
assert wC == 24
assert cC == 163
assert wC == 26
assert pC == 4
# Text Alignment