Home
last modified time | relevance | path

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

/zcbor-3.5.0-3.4.0/tests/unit/test1_unit_tests/src/
Dmain.c68 uint32_t uint32; in ZTEST() local
89 zassert_false(zcbor_uint32_decode(&state_d, &uint32), NULL); in ZTEST()
828 uint32_t uint32 = 12345678; in ZTEST() local
833 zassert_true(zcbor_uint_encode(state_e, &uint32, sizeof(uint32)), NULL); in ZTEST()
844 zassert_false(zcbor_uint_decode(state_d, &uint32, sizeof(uint8)), NULL); in ZTEST()
845 zassert_false(zcbor_uint_decode(state_d, &uint32, sizeof(uint16)), NULL); in ZTEST()
846 zassert_true(zcbor_uint_decode(state_d, &uint32, sizeof(uint32)), NULL); in ZTEST()
849 zassert_false(zcbor_uint_decode(state_d, &uint64, sizeof(uint32)), NULL); in ZTEST()
854 zassert_equal(uint32, 12345678, "%d\r\n", uint32); in ZTEST()