From 855173d0a3b3dd77e3d48a0f271e71304a0ea9ca Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 17 Feb 2024 00:23:39 +0200 Subject: Update tests & remove old comments --- gnosis-algorithm.el | 3 --- gnosis-test.el | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gnosis-algorithm.el b/gnosis-algorithm.el index 16f13db..e850c9f 100644 --- a/gnosis-algorithm.el +++ b/gnosis-algorithm.el @@ -113,9 +113,6 @@ Returns a list of: (INTERVAL N EF) where, (error "Value of total-ef from `gnosis-algorithm-ef' must be above 1.3"))) ;; Calculate the next easiness factor. (let* ((next-ef (gnosis-algorithm-e-factor ef success)) - ;; Calculate the next interval. - ;; ef should not be > 3.0 unless the card is imported/edited, - ;; thus ignore initial intervals (interval (cond ;; TODO: Rewrite this! diff --git a/gnosis-test.el b/gnosis-test.el index c168e25..92ee5c1 100644 --- a/gnosis-test.el +++ b/gnosis-test.el @@ -91,7 +91,7 @@ by the thoracodorsal nerve." (when (y-or-n-p "Add note with multiple clozes?") (dotimes (_ num) (gnosis-add-note--cloze :deck testing-deck - :note "this is a {c1:note} with multiple {c1:clozes}" + :note "this is a {c1:note}, a note with multiple {c1:clozes}" :hint "note" :tags (gnosis-test-random-items gnosis-test-tags 2) :extra "extra"))) -- cgit v1.2.3