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

Function TestSmartPoolReturnFalseIfNoClaim

protocol/smartpool_test.go:107–112  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

105}
106
107func TestSmartPoolReturnFalseIfNoClaim(t *testing.T) {
108 sp := newTestSmartPool()
109 if ok, _ := sp.Submit(); ok {
110 t.Fail()
111 }
112}
113
114func TestSmartPoolSuccessfullySubmitAndVerifyClaim(t *testing.T) {
115 sp := newTestSmartPool()

Callers

nothing calls this directly

Calls 2

newTestSmartPoolFunction · 0.85
SubmitMethod · 0.80

Tested by

no test coverage detected