diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-29 09:45:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-29 09:45:49 -0500 |
| commit | 3556776c98129642a369a73677702866a0e31d71 (patch) | |
| tree | d58ba66c4563ef468c7bb131e6e460181357cdb8 /test-from-git | |
| parent | f707f95d80ace08db2b65a17f2e391a5edaa278e (diff) | |
| download | org-drill-3556776c98129642a369a73677702866a0e31d71.tar.gz org-drill-3556776c98129642a369a73677702866a0e31d71.zip | |
test: add Simple8 scheduler tests
The Simple8 algorithm at org-drill-determine-next-interval-simple8 had no direct test coverage, completing the trio after SM2 (37 tests) and SM5 (32 tests, just landed). Adds a per-function test file with 34 tests across Normal, Boundary, Error, algorithm-verification, and helper-specific categories.
Simple8-specific surface gets dedicated coverage. The function returns a 6-element list (not 7 like SM2/SM5) and recomputes ease from meanq each call rather than carrying an EF parameter through. Failure does not increment totaln (different from SM2/SM5, which always increment). The four delta-days configurations (nil, positive × flag, negative × flag) each take a distinct code path, including a late-review use-n adjustment that SM5 doesn't have.
The three pure-math helpers (simple8-first-interval, simple8-interval-factor, simple8-quality->ease) get five direct tests so polynomial-coefficient typos can't drift silently.
All 34 pass on first run as characterization. Full suite at 214 of 214 (was 180, +34).
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
