• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / h3-go / 36771205534
100%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2026 08:16PM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Sep 2026 08:14PM UTC coverage: 100.0%. Remained the same
36771205534

push

github

web-flow
feat: bind constructCell and gridDiskUnsafe in both packages (#147)

* feat: bind constructCell and gridDiskUnsafe in both packages

These were the only two h3api.h exports with no Go counterpart that
weren't a deliberate omission. Both are added to the cgo binding and to
x/h3go, keeping the two packages in exact API lockstep.

constructCell builds a cell from its resolution, base cell number and
child digits, rejecting digit sequences that fall in a pentagon's
deleted subsequence. Digits past the resolution are ignored and slots
past the end of the slice are filled with the center digit, which
matches the zero-padded fixed array C's own callers pass; upstream's
testConstructCell.c table relies on that, so its 25 cases are
transcribed verbatim as a parity test.

gridDiskUnsafe is a one-line delegation to gridDiskDistancesUnsafe in C,
so it adds no behaviour, but it is the only way to get the flat disk
from the fast traversal with pentagon distortion reported rather than
absorbed: GridDisk silently falls back, and GridDiskDistancesUnsafe
buckets by ring. In x/h3go it exposes the existing gridDiskUnsafeInto
helper. Three of its four siblings were already bound.

x/h3go keeps 100% statement coverage from its own tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

61 of 61 new or added lines in 3 files covered. (100.0%)

4417 of 4417 relevant lines covered (100.0%)

2729131.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 36771205534.1 30 Sep 2026 08:16PM UTC 19
100.0
GitHub Action Run
Source Files on build 36771205534
  • Tree
  • List 19
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2a445b8d on github
  • Prev Build on master (#36650855539)
  • Next Build on master (#36899345789)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc