Test that proves MultiAddress not handling 0s properly

This commit is contained in:
John Jones 2017-04-03 22:01:46 -05:00
parent 615adc86ef
commit 4cbcf6be3d
2 changed files with 27 additions and 3 deletions

View file

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