mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
delete temporary test
This commit is contained in:
parent
44d804d0b3
commit
3616ae1c1f
1 changed files with 0 additions and 17 deletions
|
@ -27,20 +27,3 @@ impl Collection {
|
|||
Ok(studied_today(today.cards, today.seconds as f32, &self.tr))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use anki_i18n::I18n;
|
||||
|
||||
use super::studied_today;
|
||||
|
||||
#[test]
|
||||
fn today() {
|
||||
// temporary test of fluent term handling
|
||||
let tr = I18n::template_only();
|
||||
assert_eq!(
|
||||
&studied_today(3, 13.0, &tr).replace('\n', " "),
|
||||
"Studied 3 cards in 13 seconds today (4.33s/card)"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue