Searched refs:uint8 (Results 1 – 1 of 1) sorted by relevance
/zcbor-3.5.0-3.4.0/tests/unit/test1_unit_tests/src/ |
D | main.c | 826 uint8_t uint8 = 12; in ZTEST() local 831 zassert_true(zcbor_uint_encode(state_e, &uint8, sizeof(uint8)), NULL); in ZTEST() 841 zassert_true(zcbor_uint_decode(state_d, &uint8, sizeof(uint8)), NULL); in ZTEST() 842 zassert_false(zcbor_uint_decode(state_d, &uint16, sizeof(uint8)), NULL); in ZTEST() 844 zassert_false(zcbor_uint_decode(state_d, &uint32, sizeof(uint8)), NULL); in ZTEST() 847 zassert_false(zcbor_uint_decode(state_d, &uint64, sizeof(uint8)), NULL); in ZTEST() 852 zassert_equal(uint8, 12, "%d\r\n", uint8); in ZTEST()
|