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

Function search_test

examples/test/avl.c:525–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525static void search_test(void)
526{
527 for (size_t i = 0; i < loop_count; i++)
528 {
529 void *start = (void *)(uintptr_t)dataset[i];
530 struct rt_varea *varea;
531 varea = _aspace_bst_search(&aspace, start);
532 assert(varea);
533 assert(varea->start == start);
534 }
535}
536
537static void delete_test(void)
538{

Callers

nothing calls this directly

Calls 2

_aspace_bst_searchFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected