(t *testing.T)
| 206 | } |
| 207 | |
| 208 | func TestInitVbftBlock(t *testing.T) { |
| 209 | blk, err := constructBlock() |
| 210 | if err != nil { |
| 211 | t.Errorf("constructBlock failed: %v", err) |
| 212 | } |
| 213 | _, err = initVbftBlock(blk.Block, common.Uint256{}) |
| 214 | if err != nil { |
| 215 | t.Errorf("initVbftBlock failed: %v", err) |
| 216 | return |
| 217 | } |
| 218 | t.Log("TestInitVbftBlock succ") |
| 219 | } |
nothing calls this directly
no test coverage detected