Skip to content

Commit

Permalink
adding empty test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcoleman committed Aug 1, 2024
1 parent 3cfc352 commit 98da50d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions h3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ func TestCellsToMultiPolygon(t *testing.T) {
assertEqual(t, len(res[1].GeoLoop), 18)
assertEqual(t, len(res[1].Holes), 0)

// empty
res = CellsToMultiPolygon([]Cell{})
assertEqual(t, len(res), 0)
}

func TestGridPath(t *testing.T) {
Expand Down

0 comments on commit 98da50d

Please sign in to comment.