MCPcopy
hub / github.com/aceld/zinx / TestDelayfunc

Function TestDelayfunc

ztimer/delayfunc_test.go:19–23  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

17}
18
19func TestDelayfunc(t *testing.T) {
20 df := NewDelayFunc(SayHello, []interface{}{"hello", "zinx!"})
21 fmt.Println("df.String() = ", df.String())
22 df.Call()
23}

Callers

nothing calls this directly

Calls 3

StringMethod · 0.95
CallMethod · 0.95
NewDelayFuncFunction · 0.85

Tested by

no test coverage detected