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

Function TestSession_Int16

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

Source from the content-addressed store, hash-verified

71}
72
73func TestSession_Int16(t *testing.T) {
74 s := New(nil)
75 key := "testkey"
76 value := int16(3245)
77 s.Set(key, value)
78 if value != s.Int16(key) {
79 t.Fail()
80 }
81}
82
83func TestSession_Int32(t *testing.T) {
84 s := New(nil)

Callers

nothing calls this directly

Calls 3

SetMethod · 0.80
Int16Method · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…