diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-29 08:59:41 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-29 08:59:41 -0500 |
| commit | bc8167388ce076c5b2a690c4d1e63c8dc82d6dfe (patch) | |
| tree | 52dbabc111b6ee584e18f66956e2b888a3710edd /test-from-git | |
| parent | c7661142575b8a1cf09606d0ef115b0e3a0df90f (diff) | |
| download | org-drill-bc8167388ce076c5b2a690c4d1e63c8dc82d6dfe.tar.gz org-drill-bc8167388ce076c5b2a690c4d1e63c8dc82d6dfe.zip | |
test: add SM5 scheduler tests
The SM5 algorithm at org-drill-determine-next-interval-sm5 had no direct test coverage. SM2 has 37 tests. SM5 has zero. Adds a per-function test file that mirrors the SM2 file's structure. 32 tests cover Normal, Boundary, Error, and algorithm-verification categories.
The SM5-specific surface gets dedicated coverage. Failure preserves the input EF, not the modified one. The of-matrix is copied, not mutated. The four delta-days configurations (nil, positive, negative-with-flag, negative-without-flag) each take a different code path. The Error category includes should-error cases for the cl-assert preconditions on n and quality, which is a gap SM2's tests still have.
All 32 pass on first run as characterization. Full suite at 180 of 180.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
