Skip to content

[union_find] proptest#201

Merged
ia7ck merged 1 commit intomasterfrom
uf-prop
Feb 7, 2026
Merged

[union_find] proptest#201
ia7ck merged 1 commit intomasterfrom
uf-prop

Conversation

@ia7ck
Copy link
Owner

@ia7ck ia7ck commented Feb 7, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds property-based tests to the union_find library to validate core Union-Find invariants across randomized sequences of operations.

Changes:

  • Added a unit test covering a basic connectivity/size/groups scenario.
  • Added proptest-based generators and properties for connectivity, transitivity, and component-size accounting.
  • Added proptest as a dev-dependency for the union_find crate.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
libs/union_find/src/lib.rs Adds unit + property-based tests to exercise Union-Find correctness invariants.
libs/union_find/Cargo.toml Adds proptest dev-dependency to support the new tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ia7ck ia7ck merged commit 331220a into master Feb 7, 2026
12 checks passed
@ia7ck ia7ck deleted the uf-prop branch February 7, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments