aboutsummaryrefslogtreecommitdiff
path: root/test/test_colitur.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 14:59:03 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 14:59:03 +0200
commit56e36188c6afc208b96b15b9a1d3d62bbbe2f705 (patch)
tree5d60c75005c36ab9595a70ef06f261ed9b7efed4 /test/test_colitur.ml
parenta4eb9ed3cd93cbac493a873991dd5817906aad56 (diff)
downloadcolitur-56e36188c6afc208b96b15b9a1d3d62bbbe2f705.tar.gz
colitur-56e36188c6afc208b96b15b9a1d3d62bbbe2f705.zip
feat(citation): parse citations into structure
The parsed form is a book and a LIST of chapter-parts: the data cites across chapters and lists disjoint verse ranges within one. Two rules the shipped data forces and that are not obvious: a semicolon-separated part may inherit the previous chapter rather than restate it, and a chapter may be separated from its verses by a comma.
Diffstat (limited to 'test/test_colitur.ml')
-rw-r--r--test/test_colitur.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_colitur.ml b/test/test_colitur.ml
index 46a31aa..6fe212d 100644
--- a/test/test_colitur.ml
+++ b/test/test_colitur.ml
@@ -5,6 +5,7 @@ let () =
Test_lang.suite;
Test_lang_coverage.suite;
Test_citation.suite;
+ ("parse", Test_citation.parse_suite);
Test_config.suite;
Test_overlay.suite; Test_overlay_ini.suite; Test_temporal_ef.suite; Test_validate.suite; Test_precedence.suite;
Test_calendar.suite; Test_precedence_ef.suite; Test_sanctoral_ef.suite; Test_rite_ef.suite;