aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-small-branch-coverage.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-org-drill-small-branch-coverage.el')
-rw-r--r--tests/test-org-drill-small-branch-coverage.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test-org-drill-small-branch-coverage.el b/tests/test-org-drill-small-branch-coverage.el
index 21b67c6..cb0ece7 100644
--- a/tests/test-org-drill-small-branch-coverage.el
+++ b/tests/test-org-drill-small-branch-coverage.el
@@ -21,7 +21,10 @@ the dispersal factor."
(cl-letf (((symbol-function 'org-drill-random-dispersal-factor)
(lambda () 1.5)))
(let* ((result (org-drill-determine-next-interval-sm5
- 4.0 2 2.5 5 0 5.0 1
+ (make-org-drill-card-state
+ :last-interval 4.0 :repetitions 2 :ease 2.5
+ :failures 0 :meanq 5.0 :total-repeats 1)
+ 5
org-drill-sm5-optimal-factor-matrix))
(next (nth 0 result)))
(should (numberp next))