aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-12-08 13:35:29 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-12-08 13:35:29 +0100
commitda27c5b093af923b0cb462903b273af798f39403 (patch)
treebf9668bca8665a98cf52d7a0e528f41a73db7dcb /tests
parent6526dd8c750c07d35e2f3c336a7171c9baf5a2ed (diff)
downloadfuzzycat-da27c5b093af923b0cb462903b273af798f39403.tar.gz
fuzzycat-da27c5b093af923b0cb462903b273af798f39403.zip
add two cases
Diffstat (limited to 'tests')
-rw-r--r--tests/data/release/3w4tibll4rdernjrn4hkkyqsem30
-rw-r--r--tests/data/release/ab2q56gokfdmzpccrmwfcdljgy36
-rw-r--r--tests/data/release/g2swo5fewnhv3ihmlpl32sojr428
-rw-r--r--tests/data/release/tmlg73royrdwdhl6nijf6m7vzy35
-rw-r--r--tests/data/verify.csv2
5 files changed, 131 insertions, 0 deletions
diff --git a/tests/data/release/3w4tibll4rdernjrn4hkkyqsem b/tests/data/release/3w4tibll4rdernjrn4hkkyqsem
new file mode 100644
index 0000000..ec7c6b5
--- /dev/null
+++ b/tests/data/release/3w4tibll4rdernjrn4hkkyqsem
@@ -0,0 +1,30 @@
+{
+ "abstracts": [],
+ "container_id": "6vtnf256lnazzcloft3odcof7u",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1093/jahist/jav818"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "10.1093/jahist/jav818"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "3w4tibll4rdernjrn4hkkyqsem",
+ "language": "en",
+ "pages": "1211-1212",
+ "publisher": "Oxford University Press (OUP)",
+ "refs": [],
+ "release_date": "2016-02-22",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2016,
+ "revision": "c9ccc009-3e1b-4f2f-beed-8c3cb7d22d0d",
+ "state": "active",
+ "title": "The Ordeal of the Reunion: A New History of Reconstruction",
+ "volume": "102",
+ "work_id": "s7srxjdjybfcjjgtutmy4dwyfa"
+}
diff --git a/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy b/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy
new file mode 100644
index 0000000..7a1bdd6
--- /dev/null
+++ b/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy
@@ -0,0 +1,36 @@
+{
+ "abstracts": [],
+ "container_id": "on7pto6emjcyjebuutelzf34nq",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "M. Seigel",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1215/00182168-2007-045"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "ab2q56gokfdmzpccrmwfcdljgy",
+ "language": "en",
+ "pages": "733-734",
+ "publisher": "Duke University Press",
+ "refs": [],
+ "release_date": "2007-11-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2007,
+ "revision": "86bb892c-3316-427b-bfc5-5ede9b4b7c80",
+ "state": "active",
+ "title": "A Nation among Nations: America's Place in World History",
+ "volume": "87",
+ "work_id": "mi3hgj2mfzfaxlnnnafsiqfyxu"
+}
diff --git a/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4 b/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4
new file mode 100644
index 0000000..d105df7
--- /dev/null
+++ b/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4
@@ -0,0 +1,28 @@
+{
+ "abstracts": [],
+ "container_id": "pjjljho22jhnrmpk3k2jxhxzv4",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.5860/choice.44-1111"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "g2swo5fewnhv3ihmlpl32sojr4",
+ "issue": "02",
+ "language": "en",
+ "pages": "44-1111-44-1111",
+ "publisher": "American Library Association",
+ "refs": [],
+ "release_date": "2006-10-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2006,
+ "revision": "a5043427-bb4e-44fd-9359-a1b98793f410",
+ "state": "active",
+ "title": "A nation among nations: America's place in world history",
+ "volume": "44",
+ "work_id": "jzik5ovynjdcfpx3opnliudvo4"
+}
diff --git a/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy b/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy
new file mode 100644
index 0000000..e4e23c4
--- /dev/null
+++ b/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy
@@ -0,0 +1,35 @@
+{
+ "abstracts": [],
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_affiliation": "None",
+ "raw_name": "Douglas R. Egerton",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.31390/cwbr.17.2.26"
+ },
+ "extra": {
+ "container_name": "Civil War Book Review",
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "tmlg73royrdwdhl6nijf6m7vzy",
+ "publisher": "Louisiana State University Libraries",
+ "refs": [],
+ "release_date": "2015-01-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2015,
+ "revision": "5bc8ddd1-5078-4b64-8e61-99730b039181",
+ "state": "active",
+ "title": "The Ordeal of the Reunion: A New History of Reconstruction",
+ "volume": "17",
+ "work_id": "rvtgbosqnfcz3ktvy4jwcuzbly"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index df60fd7..43820d5 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -125,3 +125,5 @@ u4mjilmo75bcnjyms564l66jea,6ofr4mqnmrdy3nyyh5ufm5ats4,Status.AMBIGUOUS,
6ysfa7ncx5fldmvmwvjgpf2i6e,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
yp3rs3xb5ra2riyx5xayrlqfum,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
mz6a32xbp5f67i2cnbco2hmzj4,fo5dsqeocfekfhqdzgqyng3z6q,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW
+g2swo5fewnhv3ihmlpl32sojr4,ab2q56gokfdmzpccrmwfcdljgy,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW
+tmlg73royrdwdhl6nijf6m7vzy,3w4tibll4rdernjrn4hkkyqsem,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY