#include <zephyr/ztest.h>
#include <zephyr/kernel.h>
#include <zpp/atomic_bitset.hpp>
#include <zpp/atomic_var.hpp>
Go to the source code of this file.
|
| ZTEST_SUITE (zpp_atomic_tests, NULL, NULL, NULL, NULL, NULL) |
|
| ZTEST (zpp_atomic_tests, test_atomic_bitset) |
|
◆ ZTEST()
ZTEST |
( |
zpp_atomic_tests |
, |
|
|
test_atomic_bitset |
|
|
) |
| |
Definition at line 23 of file main.cpp.
25 g_bitset.store(0,
true);
26 zassert_true(g_bitset.load(0) ==
true,
"load(0) failed");
28 g_bitset.store(319,
true);
29 zassert_true(g_bitset.load(319) ==
true,
"load(319) failed");
◆ ZTEST_SUITE()
ZTEST_SUITE |
( |
zpp_atomic_tests |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
NULL |
|
|
) |
| |