MCPcopy Create free account
hub / github.com/devfeel/dotweb / Test_CurrentRequestCount

Function Test_CurrentRequestCount

core/state_test.go:38–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func Test_CurrentRequestCount(t *testing.T) {
39 //var num uint64 = 1
40 GlobalState.AddCurrentRequest(1000465)
41 t.Log(GlobalState.CurrentRequestCount)
42 GlobalState.SubCurrentRequest(2561)
43 t.Log(GlobalState.CurrentRequestCount)
44}
45
46func Test_AddRequestCount_2(t *testing.T) {
47 var num uint64 = 1

Callers

nothing calls this directly

Calls 2

AddCurrentRequestMethod · 0.80
SubCurrentRequestMethod · 0.80

Tested by

no test coverage detected