Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ TestWorkPoolAddWorkByItsID
Function
TestWorkPoolAddWorkByItsID
ethereum/work_pool_test.go:51–58 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
49
}
50
51
func
TestWorkPoolAddWorkByItsID(t *testing.T) {
52
wp := WorkPool{}
53
w := newTestWork()
54
wp.AddWork(w)
55
if
wp[w.ID()] == nil {
56
t.Fail()
57
}
58
}
Callers
nothing calls this directly
Calls
3
AddWork
Method · 0.95
newTestWork
Function · 0.85
ID
Method · 0.65
Tested by
no test coverage detected