Searched refs:int32 (Results 1 – 1 of 1) sorted by relevance
/zcbor-3.5.0-3.4.0/tests/unit/test1_unit_tests/src/ |
D | main.c | 16 int32_t int32; in ZTEST() local 35 zassert_false(zcbor_int32_decode(state_d, &int32), NULL); in ZTEST() 44 zassert_false(zcbor_int32_decode(state_d, &int32), NULL); in ZTEST() 708 int32_t int32 = 12345678; in ZTEST() local 713 zassert_true(zcbor_int_encode(state_e, &int32, sizeof(int32)), NULL); in ZTEST() 719 int32 = -12345678; in ZTEST() 724 zassert_true(zcbor_int_encode(state_e, &int32, sizeof(int32)), NULL); in ZTEST() 746 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST() 747 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST() 748 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST() [all …]
|