Skip to content
Commit caf19726 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

tests/lib/heap: Add coverage for sys_heap_usable_size()



Call and validate the new function.  Note that this is actually
whiteboxing the heap implementation and duplicating the internal logic
needed to compute the header size, so as to validate that the correct
number is being returned.  I had to write that test code anyway, might
as well commit it (the heap header is awfully well optimized now and
very unlikely to change).

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent cf0c5e2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment