(t *testing.T)
| 123 | } |
| 124 | |
| 125 | func TestBlockMakePartSet(t *testing.T) { |
| 126 | assert.Nil(t, (*Block)(nil).MakePartSet(2)) |
| 127 | |
| 128 | partSet := MakeBlock(int64(3), []Tx{Tx("Hello World")}, nil, nil).MakePartSet(1024) |
| 129 | assert.NotNil(t, partSet) |
| 130 | assert.EqualValues(t, 1, partSet.Total()) |
| 131 | } |
| 132 | |
| 133 | func TestBlockMakePartSetWithEvidence(t *testing.T) { |
| 134 | assert.Nil(t, (*Block)(nil).MakePartSet(2)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…