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

custom-set: add test for removing duplicates #2436

Merged
merged 2 commits into from
May 10, 2024

Conversation

senekor
Copy link
Contributor

@senekor senekor commented May 9, 2024

No description provided.

@senekor
Copy link
Contributor Author

senekor commented May 9, 2024

forum post

Comment on lines 403 to 408
"property": "difference",
"input": {
"set1": [1, 1],
"set2": [1]
},
"expected": [0]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is the expected set [0]? Where does element 0 come from? Shouldn't I expect an empty set as the difference?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I think that might be a mistake?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that was a mistake. thanks!

@BNAndras BNAndras merged commit 3d9837e into main May 10, 2024
7 checks passed
@BNAndras BNAndras deleted the custom-set-difference-duplicates branch May 10, 2024 21:49
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.

5 participants