Change test_input order

This commit is contained in:
Leon Luithlen 2024-11-14 11:44:18 +01:00
parent e6636754ff
commit c905510f30

View file

@ -1,6 +1,15 @@
import pytest
INPUT_TEXTS = {
"empty": "",
"single_char": "x",
"whitespace": " \n\t \r\n ",
"unicode_special": "Hello 👋 مرحبا שָׁלוֹם",
"mixed_endings": "line1\r\nline2\nline3\r\nline4",
"many_newlines": "\n\n\n\ntext\n\n\n\n",
"html_mixed": "<p>Hello</p>\nPlain text\n<div>World</div>",
"urls_emails": "Visit https://example.com or email user@example.com",
"elipses": "Hello...How are you…",
"english_lists": """Let me think through the key attributes that would be important to test in a text chunking system.
Here are the essential attributes to test:
@ -272,13 +281,4 @@ Vows made in pain, as violent and void.
For never can true reconcilement grow
Where wounds of deadly hate have peirc'd so deep:
Which would but lead me to a worse relapse [ 100 ]""",
"empty": "",
"single_char": "x",
"whitespace": " \n\t \r\n ",
"unicode_special": "Hello 👋 مرحبا שָׁלוֹם",
"mixed_endings": "line1\r\nline2\nline3\r\nline4",
"many_newlines": "\n\n\n\ntext\n\n\n\n",
"html_mixed": "<p>Hello</p>\nPlain text\n<div>World</div>",
"urls_emails": "Visit https://example.com or email user@example.com",
"elipses": "Hello...How are you…",
}