Skip to content

Commit

Permalink
Add subfield $l to MNG
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Nov 20, 2024
1 parent e20c53e commit 3d0a690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ private void initialize() {
"h", "Originating system version subfield", "R",
"i", "Record format subfield", "R",
"j", "Cataloging level subfield", "R",
"k", "Brief level subfield", "R"
"k", "Brief level subfield", "R",
"l", "Bibliographic rank subfield", "R"
);
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package de.gwdg.metadataqa.marc.utils;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

public class DataElementsStaticticsTest {

@Test
Expand All @@ -17,7 +17,7 @@ public void testStatistics() {
assertEquals("There should be 2688 defined subfields in MARC core", 2688, statistics.get(DataElementType.coreSubfields));
assertEquals("There should be 303 defined locally defined fields", 303, statistics.get(DataElementType.localFields));
assertEquals("There should be 67 defined locally defined indicators", 67, statistics.get(DataElementType.localIndicators));
assertEquals("There should be 2566 defined locally defined subfields", 2566 , statistics.get(DataElementType.localSubfields));
assertEquals("There should be 6258 defined data elements", 6258, statistics.total());
assertEquals("There should be 2567 defined locally defined subfields", 2567 , statistics.get(DataElementType.localSubfields));
assertEquals("There should be 6259 defined data elements", 6259, statistics.total());
}
}

0 comments on commit 3d0a690

Please sign in to comment.