aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-smart-reschedule.el
Commit message (Collapse)AuthorAgeFilesLines
* test: cover map-leitner-capture, response-mode, timer, sm2/simple8 dispatchCraig Jennings2026-05-051-0/+18
| | | | | | | | | I added direct tests for `org-drill-map-leitner-capture' (route by DRILL_LEITNER_BOX), the response-mode exit-kind handlers (quit/edit/skip/ tags/rtn), `org-drill-presentation-timer-cancel', and the sm2/simple8 branches of `org-drill-smart-reschedule''s algorithm dispatcher. Coverage moved from 80.6% to 81.8%.
* test: add coverage for org-drill-smart-rescheduleCraig Jennings2026-05-051-0/+119
6 ERT tests covering all four days-ahead branches: - 0 → unschedule (treat as new again) - negative → schedule today (current-time) - positive → schedule N days ahead - nil → use the algorithm-computed next-interval (locks in the numberp guard fix) Plus property side-effects: writes DRILL_LAST_INTERVAL / EASE / TOTAL_REPEATS via store-item-data, and TOTAL_REPEATS increments on each call.