Added ability to parse out peer id

This commit is contained in:
John Jones 2017-04-03 11:54:15 -05:00
parent e9636e642f
commit 615adc86ef
4 changed files with 43 additions and 5 deletions

View file

@ -7,7 +7,8 @@ const char* names[] = {
"test_full",
"test_hex_to_var",
"test_int_to_hex",
"test_multiaddr_utils"
"test_multiaddr_utils",
"test_multiaddr_peer_id"
};
int (*funcs[])(void) = {
@ -15,7 +16,8 @@ int (*funcs[])(void) = {
test_full,
test_hex_to_var,
test_int_to_hex,
test_multiaddr_utils
test_multiaddr_utils,
test_multiaddr_peer_id
};
int testit(const char* name, int (*func)(void)) {