7 #include <zephyr/ztest.h>
13 ZTEST(zpp_print_tests, test_print_uint8_t)
19 ZTEST(zpp_print_tests, test_print_int8_t)
25 ZTEST(zpp_print_tests, test_print_uint16_t)
31 ZTEST(zpp_print_tests, test_print_int16_t)
37 ZTEST(zpp_print_tests, test_print_uint32_t)
39 uint32_t v{ 12345678 };
43 ZTEST(zpp_print_tests, test_print_int32_t)
45 int32_t v{ -12345678 };
49 ZTEST(zpp_print_tests, test_print_uint64_t)
51 uint64_t v{ 12345678901011 };
52 zpp::print(
"uint64_t {} == 12345678901011\n", v);
55 ZTEST(zpp_print_tests, test_print_int64_t)
57 int64_t v{ -12345678901011 };
58 zpp::print(
"int64_t {} == -12345678901011\n", v);
61 ZTEST(zpp_print_tests, test_print_char)
67 ZTEST(zpp_print_tests, test_print_string)
69 const char* v{
"string" };
73 ZTEST(zpp_print_tests, test_print_void_ptr)
75 void* v{ (
void*)0x12345678 };
void print(const char *fmt, T_Args &&... args) noexcept
simple typesafe print function
ZTEST(zpp_atomic_tests, test_atomic_bitset)
ZTEST_SUITE(zpp_atomic_tests, NULL, NULL, NULL, NULL, NULL)