Home
last modified time | relevance | path

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

/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c17 int64_t int64; in ZTEST() local
38 zassert_true(zcbor_int64_decode(state_d, &int64), NULL); in ZTEST()
39 zassert_equal(int64, 5000000000, NULL); in ZTEST()
41 zassert_true(zcbor_int64_encode(state_e, &int64), NULL); in ZTEST()
60 zassert_false(zcbor_int64_decode(state_d, &int64), NULL); in ZTEST()
704 int64_t int64 = 1234567812345678; in ZTEST() local
709 zassert_true(zcbor_int_encode(state_e, &int64, sizeof(int64)), NULL); in ZTEST()
715 int64 = -1234567812345678; in ZTEST()
720 zassert_true(zcbor_int_encode(state_e, &int64, sizeof(int64)), NULL); in ZTEST()
744 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int8)), NULL); in ZTEST()
[all …]