aboutsummaryrefslogtreecommitdiff
path: root/lib/kernel/computus.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-11 19:23:06 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-11 19:23:06 +0200
commit7e29712aadf2436b83de2d5e8d1f98b30d2f6d59 (patch)
tree7d883df1b0a412164c49912c414b5fa50645a6d0 /lib/kernel/computus.ml
parent19d5bbaab8fbf40f6fa6de8906169e3bb7144e1f (diff)
downloadcolitur-7e29712aadf2436b83de2d5e8d1f98b30d2f6d59.tar.gz
colitur-7e29712aadf2436b83de2d5e8d1f98b30d2f6d59.zip
test(precedence): strengthen accounting test, cover order and empty sanctoral
The accounting test only checked bucket lengths, which a mutant satisfies by duplicating a candidate across two buckets while dropping another entirely. Replace it with a sorted slug-set comparison (Alcotest.slist), which a duplicate-or-missing slug both fail. Add two cases the brief's three properties call for but nothing exercised: input-order independence (permuting the sanctoral list must not change the outcome) and a temporal-only day (empty sanctoral list), the case the temporal/sanctoral split exists to make safe.
Diffstat (limited to 'lib/kernel/computus.ml')
0 files changed, 0 insertions, 0 deletions