MCPcopy Create free account
hub / github.com/devfeel/dotweb / Test_Int642String_1

Function Test_Int642String_1

framework/convert/convert_test.go:66–71  ·  view source on GitHub ↗

Int642String

(t *testing.T)

Source from the content-addressed store, hash-verified

64
65//Int642String
66func Test_Int642String_1(t *testing.T) {
67 var vint int64 = 1 << 62
68 s := Int642String(vint)
69 t.Log(vint, "Int64 to String: ", s)
70 test.Equal(t, "4611686018427387904", s)
71}
72
73func Test_Int642String_2(t *testing.T) {
74 var vint int64 = 1 << 62 >> 4

Callers

nothing calls this directly

Calls 2

EqualFunction · 0.92
Int642StringFunction · 0.85

Tested by

no test coverage detected