mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-11-19 13:56:09 +00:00
Refactor assertions in tests to simplify error messages for KMeans, CryptoRng, and Prng modules
This commit is contained in:
@@ -192,11 +192,8 @@ mod tests {
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert!(
|
||||
matches_data_point,
|
||||
"Centroid {} (empty cluster) does not match any data point",
|
||||
c
|
||||
);
|
||||
// "Centroid {} (empty cluster) does not match any data point",c
|
||||
assert!(matches_data_point);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user