test/main.c

changeset 198
b0f4fb043b47
parent 192
1e51558b9d09
child 200
e3aad99d2d80
equal deleted inserted replaced
197:a82f3456b76d 198:b0f4fb043b47
41 #include "stack_tests.h" 41 #include "stack_tests.h"
42 #include "map_tests.h" 42 #include "map_tests.h"
43 #include "prop_tests.h" 43 #include "prop_tests.h"
44 #include "buffer_tests.h" 44 #include "buffer_tests.h"
45 #include "utils_tests.h" 45 #include "utils_tests.h"
46 #include "avl_tests.h"
46 47
47 UCX_EXTERN UCX_TEST(testTestSuitePositive) { 48 UCX_EXTERN UCX_TEST(testTestSuitePositive) {
48 UCX_TEST_BEGIN 49 UCX_TEST_BEGIN
49 UCX_TEST_ASSERT(2*2 == 4, "the test framework fails"); 50 UCX_TEST_ASSERT(2*2 == 4, "the test framework fails");
50 UCX_TEST_END 51 UCX_TEST_END
215 216
216 /* Utils Tests*/ 217 /* Utils Tests*/
217 ucx_test_register(suite, test_ucx_fprintf); 218 ucx_test_register(suite, test_ucx_fprintf);
218 ucx_test_register(suite, test_ucx_asprintf); 219 ucx_test_register(suite, test_ucx_asprintf);
219 ucx_test_register(suite, test_ucx_stream_copy); 220 ucx_test_register(suite, test_ucx_stream_copy);
221
222 /* AVL Tests */
223 ucx_test_register(suite, test_ucx_avl_put);
220 224
221 ucx_test_run(suite, stdout); 225 ucx_test_run(suite, stdout);
222 fflush(stdout); 226 fflush(stdout);
223 ucx_test_suite_free(suite); 227 ucx_test_suite_free(suite);
224 228

mercurial