MCPcopy Create free account
hub / github.com/ElementsProject/lightning / check_htable

Function check_htable

common/test/run-htable.c:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static void check_htable(struct example_htable *htable,
143 struct example *arr[],
144 size_t num_arr)
145{
146 for (size_t i = 0; i < num_arr; i++) {
147 if (arr[i])
148 assert(example_htable_get(htable, example_key(arr[i])) == arr[i]);
149 }
150}
151
152int main(int argc, char *argv[])
153{

Callers 1

mainFunction · 0.85

Calls 1

example_keyFunction · 0.85

Tested by

no test coverage detected