19:cdd7a3173249 | 21:d599fefc7620 |
---|---|
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"); |
44 | 45 |
45 printf("\nUcxMemPool Tests\n"); | 46 printf("\nUcxMemPool Tests\n"); |
46 if(mpool_tests()) { | 47 if(mpool_tests()) { |
47 fprintf(stderr, "mpool_tests failed\n"); | 48 fprintf(stderr, "mpool_tests failed\n"); |
48 } | 49 } |
50 | |
51 printf("\nUcxMap Tests\n"); | |
52 if(map_tests()) { | |
53 fprintf(stderr, "map_tests failed\n"); | |
54 } | |
49 | 55 |
50 return EXIT_SUCCESS; | 56 return EXIT_SUCCESS; |
51 } | 57 } |
52 | 58 |