CheckNum make int assertion.
(num, expected int, t *testing.T)
| 51 | |
| 52 | // CheckNum make int assertion. |
| 53 | func CheckNum(num, expected int, t *testing.T) { |
| 54 | if num != expected { |
| 55 | t.Errorf("got %d, expected %d", num, expected) |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | func NewNodeFromString(id string) Node { |
| 60 | _, publicKey, _ := asymmetric.GenSecp256k1KeyPair() |
no test coverage detected