3 */ |
3 */ |
4 |
4 |
5 #ifndef MPOOL_TESTS_H |
5 #ifndef MPOOL_TESTS_H |
6 #define MPOOL_TESTS_H |
6 #define MPOOL_TESTS_H |
7 |
7 |
|
8 #include "ucx/test.h" |
8 #include "ucx/mempool.h" |
9 #include "ucx/mempool.h" |
9 |
10 |
10 #ifdef __cplusplus |
11 #ifdef __cplusplus |
11 extern "C" { |
12 extern "C" { |
12 #endif |
13 #endif |
13 |
14 |
14 int mpool_tests(); |
15 UCX_TEST_DECLARE(test_ucx_mempool_new) |
15 |
16 UCX_TEST_DECLARE(test_ucx_mempool_malloc) |
16 |
17 UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap) |
|
18 UCX_TEST_DECLARE(test_ucx_mempool_calloc) |
|
19 UCX_TEST_DECLARE(test_ucx_mempool_set_destr) |
|
20 UCX_TEST_DECLARE(test_ucx_mempool_reg_destr) |
|
21 UCX_TEST_DECLARE(test_ucx_mempool_realloc) |
17 |
22 |
18 #ifdef __cplusplus |
23 #ifdef __cplusplus |
19 } |
24 } |
20 #endif |
25 #endif |
21 |
26 |