| 121 | } |
| 122 | |
| 123 | int main(int argc, char* argv[]) |
| 124 | { |
| 125 | int ch, max = 100; |
| 126 | |
| 127 | while ((ch = getopt(argc, argv, "hn:")) > 0) |
| 128 | { |
| 129 | switch (ch) |
| 130 | { |
| 131 | case 'h': |
| 132 | usage(argv[0]); |
| 133 | return 0; |
| 134 | case 'n': |
| 135 | max = atoi(optarg); |
| 136 | break; |
| 137 | default: |
| 138 | usage(argv[0]); |
| 139 | return 0; |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | test_token_tree_cpp(max); |
| 144 | printf("-------------------------------------------------------\r\n"); |
| 145 | test_token_tree_c(max); |
| 146 | printf("-------------------------------------------------------\r\n"); |
| 147 | test_htable(max); |
| 148 | printf("-------------------------------------------------------\r\n"); |
| 149 | test_stdmap(max); |
| 150 | printf("-------------------------------------------------------\r\n"); |
| 151 | |
| 152 | return 0; |
| 153 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…