Added some utility methods to make parsing easier
This commit is contained in:
parent
0bbca7bc27
commit
e914307a4d
6 changed files with 139 additions and 5 deletions
|
@ -6,14 +6,16 @@ const char* names[] = {
|
|||
"test_new_from_string",
|
||||
"test_full",
|
||||
"test_hex_to_var",
|
||||
"test_int_to_hex"
|
||||
"test_int_to_hex",
|
||||
"test_multiaddr_utils"
|
||||
};
|
||||
|
||||
int (*funcs[])(void) = {
|
||||
test_new_from_string,
|
||||
test_full,
|
||||
test_hex_to_var,
|
||||
test_int_to_hex
|
||||
test_int_to_hex,
|
||||
test_multiaddr_utils
|
||||
};
|
||||
|
||||
int testit(const char* name, int (*func)(void)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue