From 98da50d388b51c054204a30391df159f18882d77 Mon Sep 17 00:00:00 2001 From: Zachary Coleman Date: Thu, 1 Aug 2024 13:21:20 -0600 Subject: [PATCH] adding empty test case --- h3_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/h3_test.go b/h3_test.go index c5b8404..c2ab758 100644 --- a/h3_test.go +++ b/h3_test.go @@ -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) {