MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / TestWorkPoolDoesntAcceptSolution

Function TestWorkPoolDoesntAcceptSolution

ethereum/work_pool_test.go:43–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestWorkPoolDoesntAcceptSolution(t *testing.T) {
44 wp := WorkPool{}
45 s := newTestSolution()
46 if wp.AcceptSolution(s) != nil {
47 t.Fail()
48 }
49}
50
51func TestWorkPoolAddWorkByItsID(t *testing.T) {
52 wp := WorkPool{}

Callers

nothing calls this directly

Calls 2

AcceptSolutionMethod · 0.95
newTestSolutionFunction · 0.85

Tested by

no test coverage detected