Skip to content

Commit

Permalink
Update test to inlude hbztags
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Aug 19, 2024
1 parent 42280eb commit 1f5674f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void testListTag() {
List<MarcVersion> testedVersions = List.of(
MarcVersion.MARC21, MarcVersion.DNB, MarcVersion.FENNICA, MarcVersion.GENT, MarcVersion.NKCR, MarcVersion.OCLC,
MarcVersion.SZTE, MarcVersion.KBR, MarcVersion.ZB, MarcVersion.BL, MarcVersion.MARC21NO, MarcVersion.UVA,
MarcVersion.B3KAT, MarcVersion.OGYK,
MarcVersion.B3KAT, MarcVersion.OGYK, MarcVersion.HBZ,
MarcVersion.UNIMARC // special case
);
for (MarcVersion version : MarcVersion.values()) {
Expand Down Expand Up @@ -117,6 +117,9 @@ public void testListTag() {
assertEquals( 12, (int) versionCounter2.get(MarcVersion.OGYK));
assertEquals( 12, (int) versionCounter.get("ogyktags"));

assertEquals( 36, (int) versionCounter2.get(MarcVersion.HBZ));
assertEquals( 36, (int) versionCounter.get("hbztags"));

assertEquals(229, (int) versionCounter2.get(MarcVersion.MARC21));
assertEquals( 2, (int) versionCounter.get("holdings"));
assertEquals( 49, (int) versionCounter.get("tags01x"));
Expand Down

0 comments on commit 1f5674f

Please sign in to comment.