Skip to content

Commit bcc7cc6

Browse files
committed
Add fuzzer discovered tests for polygonToCells
1 parent 3d4bdc3 commit bcc7cc6

File tree

5 files changed

+465
-3
lines changed

5 files changed

+465
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The public API of this library consists of the functions declared in file
1616
### Changed
1717
- `assert` on defensive code blocks that are not already covered. (#720)
1818
- `clang-format` upgraded to version 11. (#734)
19+
- Increased test coverage using fuzzer-discovered cases. (#742)
1920

2021
## [4.0.1] - 2022-09-15
2122
### Fixed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ set(OTHER_SOURCE_FILES
189189
src/apps/testapps/testVertexGraph.c
190190
src/apps/testapps/testCompactCells.c
191191
src/apps/testapps/testPolygonToCells.c
192+
src/apps/testapps/testPolygonToCellsErrors.c
192193
src/apps/testapps/testPolygonToCellsReported.c
193194
src/apps/testapps/testPentagonIndexes.c
194195
src/apps/testapps/testGridDisk.c

CMakeTests.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ add_h3_test(testCellsToLinkedMultiPolygon src/apps/testapps/testCellsToLinkedMul
184184
add_h3_test(testH3SetToVertexGraph src/apps/testapps/testH3SetToVertexGraph.c)
185185
add_h3_test(testLinkedGeo src/apps/testapps/testLinkedGeo.c)
186186
add_h3_test(testPolygonToCells src/apps/testapps/testPolygonToCells.c)
187+
add_h3_test(testPolygonToCellsErrors src/apps/testapps/testPolygonToCellsErrors.c)
187188
add_h3_test(testPolygonToCellsReported src/apps/testapps/testPolygonToCellsReported.c)
188189
add_h3_test(testVertexGraph src/apps/testapps/testVertexGraph.c)
189190
add_h3_test(testDirectedEdge src/apps/testapps/testDirectedEdge.c)

0 commit comments

Comments
 (0)