From 82a961d2516f8555044719337b52ea6026be8b4b Mon Sep 17 00:00:00 2001 From: Andrey Fedotov Date: Wed, 14 Aug 2024 15:51:39 +0300 Subject: [PATCH] Make test_casr_libfuzzer more stable (#228) --- casr/tests/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/casr/tests/tests.rs b/casr/tests/tests.rs index ca638d21..05517799 100644 --- a/casr/tests/tests.rs +++ b/casr/tests/tests.rs @@ -4128,7 +4128,8 @@ fn test_casr_libfuzzer() { .unwrap(); assert_eq!( - sil_score, 0.3831644389715882, + format!("{:.2}", sil_score), + "0.38", "Invalid cluster silhouette score" );