delete temporary test

This commit is contained in:
Luc Mcgrady 2025-08-04 18:09:06 +01:00
parent 44d804d0b3
commit 3616ae1c1f
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -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)"
);
}
}