()
| 9 | ) |
| 10 | |
| 11 | func newTestShares() Shares { |
| 12 | return Shares{ |
| 13 | &testShare{c: big.NewInt(10), d: big.NewInt(10), h: 1}, |
| 14 | &testShare{c: big.NewInt(1), d: big.NewInt(4), h: 2}, |
| 15 | &testShare{c: big.NewInt(5), d: big.NewInt(5), h: 3}, |
| 16 | &testShare{c: big.NewInt(8), d: big.NewInt(9), h: 4}, |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | func TestSharesSortSharesAscendingCounter(t *testing.T) { |
| 21 | s := newTestShares() |
no outgoing calls
no test coverage detected