Searched refs:encode_tests (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_sn_packet/src/ |
D | mqtt_sn_packet.c | 322 static struct mqtt_sn_encode_test encode_tests[] = { variable 529 for (size_t i = 0; i < ARRAY_SIZE(encode_tests); i++) { in ZTEST() 531 TC_PRINT("%s - test %zu: %s\n", __func__, i, encode_tests[i].name); in ZTEST() 533 err = mqtt_sn_encode_msg(&msg, &encode_tests[i].p); in ZTEST() 535 LOG_HEXDUMP_DBG(encode_tests[i].expected, encode_tests[i].expectedsz, in ZTEST() 538 zassert_equal(msg.len, encode_tests[i].expectedsz, in ZTEST() 540 encode_tests[i].expectedsz); in ZTEST() 541 zassert_mem_equal(encode_tests[i].expected, msg.data, msg.len, in ZTEST()
|