MCPcopy
hub / github.com/lonng/nano / TestSession_Int64

Function TestSession_Int64

session/session_test.go:93–101  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

91}
92
93func TestSession_Int64(t *testing.T) {
94 s := New(nil)
95 key := "testkey"
96 value := int64(444454)
97 s.Set(key, value)
98 if value != s.Int64(key) {
99 t.Fail()
100 }
101}
102
103func TestSession_Uint(t *testing.T) {
104 s := New(nil)

Callers

nothing calls this directly

Calls 3

SetMethod · 0.80
Int64Method · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…