Skip to content

Commit 4a71d9e

Browse files
authored
test: add latlng string test coverage (#87)
1 parent b49b391 commit 4a71d9e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

h3_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,3 +1610,9 @@ func TestToErr(t *testing.T) {
16101610
func TestLatLngsToC_Nil(t *testing.T) {
16111611
assertEqual(t, nil, latLngsToC(nil))
16121612
}
1613+
1614+
func TestLatLng_String(t *testing.T) {
1615+
t.Parallel()
1616+
1617+
assertEqual(t, "(67.15093, -168.39089)", validLatLng1.String())
1618+
}

0 commit comments

Comments
 (0)