mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
Update test
This commit is contained in:
parent
da1ec192fe
commit
b3af9139a5
1 changed files with 4 additions and 1 deletions
|
|
@ -677,7 +677,10 @@ mod test {
|
||||||
use crate::storage::card::ReviewOrderSubclause;
|
use crate::storage::card::ReviewOrderSubclause;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn missing_memory_state_falls_back_to_sm2() -> Result<()> {
|
// Ascending R uses relative R, which can be approximated using ivl
|
||||||
|
// and elapsed days.
|
||||||
|
// Descending R uses pure R, which can't be approximated.
|
||||||
|
fn missing_memory_state_falls_back_to_sm2_for_asc_r() -> Result<()> {
|
||||||
let (mut col, _cids) = v3_test_collection(1)?;
|
let (mut col, _cids) = v3_test_collection(1)?;
|
||||||
col.set_config_bool(BoolKey::Fsrs, true, true)?;
|
col.set_config_bool(BoolKey::Fsrs, true, true)?;
|
||||||
col.answer_easy();
|
col.answer_easy();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue