diff options
author | Thanos Apollo <[email protected]> | 2024-02-17 00:23:39 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-17 00:23:39 +0200 |
commit | 855173d0a3b3dd77e3d48a0f271e71304a0ea9ca (patch) | |
tree | 698008a40bfe04dcd908f160f733e6ae1fe26650 | |
parent | a20ea050b2a78c67c8fec777e360afcb13b755b9 (diff) |
Update tests & remove old comments
-rw-r--r-- | gnosis-algorithm.el | 3 | ||||
-rw-r--r-- | gnosis-test.el | 2 |
2 files changed, 1 insertions, 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"))) |