add start of test_mem_map.c

This commit is contained in:
Jonathon Reinhart
2015-09-07 15:05:55 -04:00
parent 12909e6a4c
commit d4de54601d
3 changed files with 73 additions and 2 deletions

16
test/unit/unicorn_test.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef UNICORN_TEST_H
#define UNICORN_TEST_H
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <unicorn/unicorn.h>
static void uc_assert_success(uc_err err)
{
assert_int_equal(err, 0);
// uc_strerror(err)
}
#endif /* UNICORN_TEST_H */