(t *testing.T)
| 121 | } |
| 122 | |
| 123 | func TestSmartPoolGetCorrectShareIndex(t *testing.T) { |
| 124 | sp := newTestSmartPool() |
| 125 | sp.ShareThreshold = 1 |
| 126 | sp.AcceptSolution(&testSolution{Counter: big.NewInt(9)}) |
| 127 | sp.Submit() |
| 128 | c := sp.Contract.(*testContract) |
| 129 | if c.IndexRequestedTime == nil { |
| 130 | t.Fail() |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | func TestSmartPoolGetCorrectShareIndexAfterSubmitClaim(t *testing.T) { |
| 135 | sp := newTestSmartPool() |
nothing calls this directly
no test coverage detected