Searched refs:payload_numbers1 (Results 1 – 1 of 1) sorted by relevance
/zcbor-3.5.0-3.4.0/tests/decode/test5_corner_cases/src/ |
D | main.c | 43 const uint8_t payload_numbers1[] = { in ZTEST() local 60 ret = cbor_decode_Numbers(payload_numbers1, sizeof(payload_numbers1) - 1, &numbers, &decode_len); in ZTEST() 63 zassert_equal(ZCBOR_SUCCESS, cbor_decode_Numbers(payload_numbers1, in ZTEST() 64 sizeof(payload_numbers1) + 1, &numbers, &decode_len), NULL); // Payload too large in ZTEST() 65 zassert_equal(sizeof(payload_numbers1), decode_len, NULL); in ZTEST()
|