()
| 8 | ) |
| 9 | |
| 10 | func newTestSmartPool() *SmartPool { |
| 11 | return NewSmartPool( |
| 12 | &testPoolMonitor{}, |
| 13 | &testShareReceiver{}, |
| 14 | &testNetworkClient{}, |
| 15 | &testClaimRepo{}, |
| 16 | &testContract{}, |
| 17 | common.HexToAddress("0x001aDBc838eDe392B5B054A47f8B8c28f2fA9F3F"), |
| 18 | time.Minute, |
| 19 | 100, |
| 20 | false, |
| 21 | ) |
| 22 | } |
| 23 | |
| 24 | func TestSmartPoolRegisterMinerAfterRegister(t *testing.T) { |
| 25 | sp := newTestSmartPool() |
no test coverage detected