test/mpool_tests.h

changeset 28
1666cbeb1db8
parent 17
2e7050c3a18e
child 59
c80c910fe191
equal deleted inserted replaced
27:22644e2572bc 28:1666cbeb1db8
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

mercurial