mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Remove redundant assertion message in empty cluster reinitialization test
This commit is contained in:
parent
4d8ed2e908
commit
7c7c8c2a16
@ -365,11 +365,11 @@ mod tests {
|
|||||||
// The crucial assertion: After re-initialization, no cluster should remain empty.
|
// The crucial assertion: After re-initialization, no cluster should remain empty.
|
||||||
// This verifies that the "furthest point" logic successfully re-assigned a point
|
// This verifies that the "furthest point" logic successfully re-assigned a point
|
||||||
// to the previously empty cluster.
|
// 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.
|
// The crucial assertion: After re-initialization, no cluster should remain empty.
|
||||||
// This verifies that the "furthest point" logic successfully re-assigned a point
|
// This verifies that the "furthest point" logic successfully re-assigned a point
|
||||||
// to the previously empty cluster.
|
// 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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user