diff options
author | Yorhel <git@yorhel.nl> | 2014-08-18 15:39:17 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2014-08-18 15:39:17 +0200 |
commit | a19e8244dd57b161858c3a793b255a0d72035ebc (patch) | |
tree | d0d3c281cc4bce4c8815084c16b12e7d8d68ebb2 /test/hex.c | |
parent | 8d5116d0480148d5cb7ca136c60da06347628782 (diff) |
Add test for ypc_val/ypc_get functions + fix two bugs found with it
Diffstat (limited to 'test/hex.c')
-rw-r--r-- | test/hex.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ #include "../lib/internal.h" +#ifdef NDEBUG +#undef NDEBUG +#endif +#include <assert.h> + int main(int argc, char **argv) { #define E(str, len) do {\ uint8_t buf[len];\ |