Change test_input order
This commit is contained in:
parent
e6636754ff
commit
c905510f30
1 changed files with 9 additions and 9 deletions
|
|
@ -1,6 +1,15 @@
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
INPUT_TEXTS = {
|
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.
|
"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:
|
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
|
For never can true reconcilement grow
|
||||||
Where wounds of deadly hate have peirc'd so deep:
|
Where wounds of deadly hate have peirc'd so deep:
|
||||||
Which would but lead me to a worse relapse [ 100 ]""",
|
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…",
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue