MCPcopy
hub / github.com/Terry-Mao/goim / TestInt64

Function TestInt64

pkg/strings/ints_test.go:17–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestInt64(t *testing.T) {
18 i := []int64{1, 2, 3}
19 s := JoinInt64s(i, ",")
20 ii, _ := SplitInt64s(s, ",")
21 if !reflect.DeepEqual(i, ii) {
22 t.FailNow()
23 }
24}

Callers

nothing calls this directly

Calls 2

JoinInt64sFunction · 0.85
SplitInt64sFunction · 0.85

Tested by

no test coverage detected