test: add test for uncompacting to a coarser resolution - #497
Conversation
6c5f9e9 to
2f62194
Compare
|
just a quick heads-up: the CI caught a couple of minor formatting issues from the linter (just a missing blank line and a trailing space in the test file). I've fixed the spacing and force-pushed the update. Everything should be perfectly green now! |
Co-authored-by: Isaac Brodsky <isaac@isaacbrodsky.com>
|
@isaacbrodsky Thanks for catching that! I've applied your suggestion to use H3ResMismatchError. Could you or @dfellis please approve the workflow run so the CI can process the new commit? Thanks! |
|
Great catch! I updated the code to use |
Description
This PR resolves a TODO comment left in
uncompact_cellsregarding missing test coverage.I removed the TODO from
src\h3\api\basic_int\__init__.pyand added a test intests/test_lib/test_cells_and_edges.pyto verify thatH3ResMismatchErroris correctly raised when a user attempts to uncompact a cell into a coarser resolution.Maintainers
cc: @dfellis @ajfriend