Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dedicated assertions for the sorted map and set types. #85

Merged

Conversation

kelebra
Copy link
Contributor

@kelebra kelebra commented Jan 21, 2024

PR contains 2 new interfaces: one for ordered set and another one for ordered map assertions. Ordered set deligates to iterator, simple implementation. In case of map we perform the same check as respective iterator method for keys and check for different values.

Also simplified some type constrants that required Hash for no good reason.

Closes #66

@cocuh cocuh self-assigned this Jan 23, 2024
Copy link
Collaborator

@cocuh cocuh left a comment

Choose a reason for hiding this comment

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

LGTM! 🐱

@cocuh cocuh merged commit c42105e into google:master Jan 23, 2024
5 checks passed
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.

Add support for BTreeMap and BTreeSet
2 participants