Add Test Case

This commit is contained in:
Yuhong Sun
2024-11-24 15:42:14 -08:00
parent 8abcde91d4
commit 86d8666481

View File

@@ -374,6 +374,17 @@ def process_text(
"The code demonstrates variable assignment.",
[],
),
(
"Citation as a single token",
[
"Here is some text",
"[1]",
".",
" Some other text",
],
"Here is some text[[1]](https://0.com). Some other text",
["doc_0"],
),
],
)
def test_citation_extraction(