diff --git a/h3_test.go b/h3_test.go index 8dfbd0c..a710d9a 100644 --- a/h3_test.go +++ b/h3_test.go @@ -636,9 +636,9 @@ func TestCellToVertex(t *testing.T) { for i, tc := range testCases { tc := tc - t.Run(fmt.Sprint(i), func(t *testing.T) { t.Parallel() + vertex := CellToVertex(tc.cell, tc.vertexNum) assertEqual(t, tc.expectedVertex, vertex) }) @@ -659,9 +659,9 @@ func TestCellToVertexes(t *testing.T) { for _, tc := range testCases { tc := tc - t.Run(fmt.Sprint(tc.numVertexes), func(t *testing.T) { t.Parallel() + vertexes := CellToVertexes(tc.cell) assertEqual(t, tc.numVertexes, len(vertexes)) }) @@ -681,9 +681,9 @@ func TestVertexToLatLng(t *testing.T) { for i, tc := range testCases { tc := tc - t.Run(fmt.Sprint(i), func(t *testing.T) { t.Parallel() + latLng := VertexToLatLng(tc.vertex) assertEqualLatLng(t, tc.expectedLatLng, latLng) })