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

Code Coverage: Set Util #434

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Conversation

bearrito
Copy link
Contributor

Generally improving code coverage. If there are specific areas that could benefit the most please let me know. Otherwise I'm just going off the code coverage report and areas I'm familiar with.

@@ -1,26 +1,12 @@
package roaring

func equal(a, b []uint16) bool {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Un-used.

func difference(set1 []uint16, set2 []uint16, buffer []uint16) int {
if 0 == len(set2) {
if len(set2) == 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Converting from Yoda-case

@lemire
Copy link
Member

lemire commented Jun 17, 2024

Merging.

@lemire lemire merged commit 5aca967 into RoaringBitmap:master Jun 17, 2024
8 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.

2 participants