mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 22:39:26 +00:00
Remove redundant assertion message in empty cluster reinitialization test
This commit is contained in:
@@ -365,11 +365,11 @@ mod tests {
|
||||
// The crucial assertion: After re-initialization, no cluster should remain empty.
|
||||
// This verifies that the "furthest point" logic successfully re-assigned a point
|
||||
// to the previously empty cluster.
|
||||
assert!(counts.iter().all(|&c| c > 0), "All clusters should have at least one point after re-initialization.");
|
||||
assert!(counts.iter().all(|&c| c > 0));
|
||||
|
||||
// The crucial assertion: After re-initialization, no cluster should remain empty.
|
||||
// This verifies that the "furthest point" logic successfully re-assigned a point
|
||||
// to the previously empty cluster.
|
||||
assert!(counts.iter().all(|&c| c > 0), "All clusters should have at least one point after re-initialization.");
|
||||
assert!(counts.iter().all(|&c| c > 0));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user