(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestHashTreeRootBitvector(t *testing.T) { |
| 62 | bv := types.NewBitvector(8) |
| 63 | bv.Set(0, true) |
| 64 | r := HashTreeRootBitvector(bv) |
| 65 | if r.IsZero() { |
| 66 | t.Error("should not be zero") |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | func TestHashTreeRootBitlist(t *testing.T) { |
| 71 | bl, _ := types.BitlistFromBits([]bool{true, false, true}, 100) |
nothing calls this directly
no test coverage detected