diff options
Diffstat (limited to 'tests.h')
-rw-r--r-- | tests.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,8 +1,15 @@ #ifndef TESTS_H_ #define TESTS_H_ -unsigned int run_tests( - void (*on_fail)(const char * const, const uint8_t *, const uint8_t *) +#include <stdint.h> + +typedef void (*test_fail_cb_t)( + const int, + const char * const, + const uint8_t *, + const uint8_t * ); +unsigned int run_tests(test_fail_cb_t); + #endif /* TESTS_H_ */ |