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

Function TestSession_Int32

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

Source from the content-addressed store, hash-verified

81}
82
83func TestSession_Int32(t *testing.T) {
84 s := New(nil)
85 key := "testkey"
86 value := int32(5454)
87 s.Set(key, value)
88 if value != s.Int32(key) {
89 t.Fail()
90 }
91}
92
93func TestSession_Int64(t *testing.T) {
94 s := New(nil)

Callers

nothing calls this directly

Calls 3

SetMethod · 0.80
Int32Method · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…