(t *testing.T)
| 38 | return msg |
| 39 | } |
| 40 | func TestSerializeVbftMsg(t *testing.T) { |
| 41 | msg := constructMsg() |
| 42 | _, err := SerializeVbftMsg(msg) |
| 43 | if err != nil { |
| 44 | t.Errorf("TestSerializeVbftMsg failed :%v", err) |
| 45 | return |
| 46 | } |
| 47 | t.Logf("TestSerializeVbftMsg succ") |
| 48 | } |
| 49 | |
| 50 | func TestDeserializeVbftMsg(t *testing.T) { |
| 51 | msg := constructMsg() |
nothing calls this directly
no test coverage detected