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

Function TestSession_HasKey

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

Source from the content-addressed store, hash-verified

21}
22
23func TestSession_HasKey(t *testing.T) {
24 s := New(nil)
25 key := "hello"
26 value := "world"
27 s.Set(key, value)
28 if !s.HasKey(key) {
29 t.Fail()
30 }
31}
32
33func TestSession_Float32(t *testing.T) {
34 s := New(nil)

Callers

nothing calls this directly

Calls 3

SetMethod · 0.80
HasKeyMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…