mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2025-12-06 07:12:03 +01:00
17 lines
286 B
C
17 lines
286 B
C
|
|
#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 */
|