| 135 | |
| 136 | static int foreach_sum; |
| 137 | static void sum_values(const char *key, void *value, void *userdata) { |
| 138 | (void)key; |
| 139 | (void)userdata; |
| 140 | foreach_sum += *(int *)value; |
| 141 | } |
| 142 | |
| 143 | TEST(ht_foreach) { |
| 144 | CBMHashTable *ht = cbm_ht_create(8); |
nothing calls this directly
no outgoing calls
no test coverage detected