test/main.c

changeset 20
db7d9860dbbd
parent 13
98ac89e3aa37
child 21
d599fefc7620
equal deleted inserted replaced
17:2e7050c3a18e 20:db7d9860dbbd
29 #include <stdio.h> 29 #include <stdio.h>
30 #include <stdlib.h> 30 #include <stdlib.h>
31 31
32 #include "list_tests.h" 32 #include "list_tests.h"
33 #include "mpool_tests.h" 33 #include "mpool_tests.h"
34 #include "map_tests.h"
34 35
35 int main(int argc, char **argv) { 36 int main(int argc, char **argv) {
36 printf("UCX Tests\n---------\n"); 37 printf("UCX Tests\n---------\n");
37 38
38 printf("\nUcxDlist Tests\n"); 39 printf("\nUcxDlist Tests\n");
47 48
48 printf("\nUcxMemPool Tests\n"); 49 printf("\nUcxMemPool Tests\n");
49 if(mpool_tests()) { 50 if(mpool_tests()) {
50 fprintf(stderr, "mpool_tests failed\n"); 51 fprintf(stderr, "mpool_tests failed\n");
51 } 52 }
53
54 printf("\nUcxMap Tests\n");
55 if(map_tests()) {
56 fprintf(stderr, "map_tests failed\n");
57 }
52 58
53 return EXIT_SUCCESS; 59 return EXIT_SUCCESS;
54 } 60 }
55 61

mercurial