aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-due-and-overdue.el
Commit message (Collapse)AuthorAgeFilesLines
* test: add tests for due/overdue predicates and scope translationCraig Jennings2026-05-051-0/+257
27 ERT tests covering the predicates that decide whether a card appears in today's drill session: - org-drill-days-since-last-review / hours-since-last-review with current-time mocked for determinism - org-drill-entry-days-overdue: normal mode (scheduled future/past/now, leech skip), cram mode (recent vs stale review windows) - org-drill-entry-due-p: scheduled in past/future, non-drill, virgin - org-drill-entry-overdue-p: factor-based threshold across last-interval and days-overdue - org-drill-current-scope: file → nil, file-no-restriction → file, symbol passthrough