diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 04:10:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 04:10:03 -0500 |
| commit | 30d48a0fffb2e89a070a726c784d8544ae5043b9 (patch) | |
| tree | c949fa759abdc0355b8ccdf87bbeb275590b8e83 /test-from-git | |
| parent | 47976dbe601215cbe0bfea92c246d23190821b07 (diff) | |
| download | org-drill-30d48a0fffb2e89a070a726c784d8544ae5043b9.tar.gz org-drill-30d48a0fffb2e89a070a726c784d8544ae5043b9.zip | |
test: add tests for due/overdue predicates and scope translation
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
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
