#include <zephyr/ztest.h>
#include <zephyr/kernel.h>
#include <zpp/heap.hpp>
#include <zpp/fmt.hpp>
Go to the source code of this file.
|
| ZTEST_SUITE (zpp_heap_tests, NULL, NULL, NULL, NULL, NULL) |
|
| ZTEST (zpp_heap_tests, test_heap) |
|
◆ ZTEST()
ZTEST |
( |
zpp_heap_tests |
, |
|
|
test_heap |
|
|
) |
| |
Definition at line 23 of file main.cpp.
25 auto p = g_heap.allocate(1);
27 zassert_not_null(p,
"");
31 p = g_heap.allocate(128);
33 zassert_not_null(p,
"");
◆ ZTEST_SUITE()
ZTEST_SUITE |
( |
zpp_heap_tests |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
|
|
) |
| |