Skip to content

Commit

Permalink
Add Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 committed Nov 24, 2024
1 parent 8abcde9 commit 86d8666
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 86d8666

Please sign in to comment.