From 77edd3c34b7d32a3e03d06362c58c913bda1fba3 Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Sat, 5 Oct 2024 00:51:13 +0800 Subject: [PATCH] fix test --- src/optimal_retention.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimal_retention.rs b/src/optimal_retention.rs index 6201d98..e7f1d5c 100644 --- a/src/optimal_retention.rs +++ b/src/optimal_retention.rs @@ -1147,7 +1147,7 @@ mod tests { let optimal_retention = fsrs .optimal_retention(&config, &DEFAULT_PARAMETERS[..17], |_v| true) .unwrap(); - assert_eq!(optimal_retention, 0.8435673); + assert_eq!(optimal_retention, 0.81009555); Ok(()) }