Home
last modified time | relevance | path

Searched refs:test1 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/tests/unit/crc/
Dmain.c17 uint8_t test1[] = { 'A' }; in ZTEST() local
22 zassert_equal(crc32_c(0, test1, sizeof(test1), true, true), in ZTEST()
34 zassert_equal(crc32_c(0, test1, sizeof(test1), true, false), in ZTEST()
44 uint8_t test1[] = { 'A' }; in ZTEST() local
48 zassert_equal(crc32_ieee(test1, sizeof(test1)), 0xD3D99E8B); in ZTEST()
89 uint8_t test1[] = { 'A' }; in ZTEST() local
95 zassert_equal(crc16_ccitt(0, test1, sizeof(test1)), 0x538d); in ZTEST()
162 uint8_t test1[] = { 'A' }; in ZTEST() local
167 zassert(crc8_ccitt(CRC8_CCITT_INITIAL_VALUE, test1, in ZTEST()
168 sizeof(test1)) == 0x33, "pass", "fail"); in ZTEST()
[all …]
/Zephyr-Core-3.5.0/tests/subsys/settings/functional/src/
Dsettings_basic_test.c84 const char test1[] = "bt/a/b/c/d"; in ZTEST() local
90 rc = settings_name_steq(test1, "bt/a/b/c/d", &next1); in ZTEST()
98 rc = settings_name_steq(test1, "bt/a/b/c", &next1); in ZTEST()
101 zassert_equal_ptr(next1, test1+9, "next points to wrong location"); in ZTEST()
108 rc = settings_name_steq(test1, "bta", &next1); in ZTEST()
116 rc = settings_name_steq(test1, "b", &next1); in ZTEST()
124 rc = settings_name_next(test1, &next1); in ZTEST()
127 zassert_equal_ptr(next1, test1+3, "next points to wrong location"); in ZTEST()
137 zassert_equal_ptr(next1, test1+5, "next points to wrong location"); in ZTEST()
/Zephyr-Core-3.5.0/tests/net/lib/dns_packet/src/
Dmain.c472 struct dns_response_test test1, test2; in ZTEST() local
475 memcpy(&test1, &test, sizeof(test1)); in ZTEST()
476 rc = eval_response1(&test1, false); in ZTEST()
510 struct dns_response_test test1 = { in ZTEST() local
526 rc = eval_response1(&test1, true); in ZTEST()
569 struct dns_response_test test1 = { in ZTEST() local
584 rc = eval_response1(&test1, true); in ZTEST()
/Zephyr-Core-3.5.0/tests/crypto/crypto_hash/src/
Dmain.c14 uint8_t test1[] = {}; variable