Go to the source code of this file.
◆ CTX_TESTS
Value:
static void test_srn_hash()
static void test_engine_make()
Definition at line 23 of file engine_tests.h.
◆ test_engine_make()
| void test_engine_make |
( |
| ) |
|
|
static |
Definition at line 25 of file engine_tests.h.
25 {
30}
#define ASSERT_NOT_NULL(x)
#define MAKE_ENGINE(mm, engine)
◆ test_srn_hash()
Definition at line 34 of file engine_tests.h.
34 {
36
37 engine->seed = 0xA5F17C3DU;
38
39 const char *data = "serene";
42
43 typedef struct d {
44 int foo;
45 int bar;
46 } d;
47
48 const d test1 = {.foo = 10, .bar = 22};
49 const d test2 = {.foo = 10, .bar = 12};
50
55}
srn_hash_t srn_hash(const srn_engine_t *engine, const void *data, size_t len)