8000 Cover a few more lines/branches by isaacbrodsky · Pull Request #1023 · uber/h3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cover a few more lines/branches #1023

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

Merged
merged 4 commits into from
Jul 1, 2025

Conversation

isaacbrodsky
Copy link
Collaborator

Cover a few more additional lines / branches, either via tests or by NEVER/ALWAYS type macros.

@isaacbrodsky isaacbrodsky changed the title H3index always unsigned Cover a few more lines/branches Jun 29, 2025
@coveralls
Copy link
coveralls commented Jun 29, 2025

Coverage Status

coverage: 98.933% (+0.02%) from 98.911%
when pulling 0ecd315 on isaacbrodsky:h3index-always-unsigned
into 73cf911 on uber:master.

Comment on lines +74 to 81
// Don't use a for loop here, for coverage reasons.
while (ALWAYS(p < NUM_PENTAGONS)) {
if (pentagonDirectionFaces[p].baseCell == baseCell) {
dirFaces = pentagonDirectionFaces[p];
break;
}
p++;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This may be specific to my compiler / lcov version, but should be inconsequential

@isaacbrodsky isaacbrodsky merged commit 745dfdb into uber:master Jul 1, 2025
45 checks passed
@isaacbrodsky isaacbrodsky deleted the h3index-always-unsigned branch July 1, 2025 15:54
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.

4 participants
0