Skip to content

Commit 82a961d

Browse files
authored
Make test_casr_libfuzzer more stable (#228)
1 parent d7de416 commit 82a961d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

casr/tests/tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4128,7 +4128,8 @@ fn test_casr_libfuzzer() {
41284128
.unwrap();
41294129

41304130
assert_eq!(
4131-
sil_score, 0.3831644389715882,
4131+
format!("{:.2}", sil_score),
4132+
"0.38",
41324133
"Invalid cluster silhouette score"
41334134
);
41344135

0 commit comments

Comments
 (0)