MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / init_test

Function init_test

examples/test/avl.c:500–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498 } while (0);
499
500static void init_test(void)
501{
502 _aspace_bst_init(&aspace);
503
504 dataset = malloc(loop_count * sizeof(*dataset));
505 assert(dataset);
506
507 _varea_buf = malloc(loop_count * sizeof(*_varea_buf));
508 assert(_varea_buf);
509
510 init_random_keys(dataset, loop_count, 0xabcdabcd);
511}
512
513static void insert_test(void)
514{

Callers 1

mainFunction · 0.85

Calls 4

init_random_keysFunction · 0.85
_aspace_bst_initFunction · 0.70
mallocFunction · 0.50
assertFunction · 0.50

Tested by

no test coverage detected