diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 19:23:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 19:23:06 +0200 |
| commit | 7e29712aadf2436b83de2d5e8d1f98b30d2f6d59 (patch) | |
| tree | 7d883df1b0a412164c49912c414b5fa50645a6d0 /lib/kernel/record.ml | |
| parent | 19d5bbaab8fbf40f6fa6de8906169e3bb7144e1f (diff) | |
| download | colitur-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/record.ml')
0 files changed, 0 insertions, 0 deletions
