summaryrefslogtreecommitdiff
path: root/test/hex.c
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2014-08-18 15:39:17 +0200
committerYorhel <git@yorhel.nl>2014-08-18 15:39:17 +0200
commita19e8244dd57b161858c3a793b255a0d72035ebc (patch)
treed0d3c281cc4bce4c8815084c16b12e7d8d68ebb2 /test/hex.c
parent8d5116d0480148d5cb7ca136c60da06347628782 (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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/hex.c b/test/hex.c
index df3ec9f..9531948 100644
--- a/test/hex.c
+++ b/test/hex.c
@@ -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];\