Home
last modified time | relevance | path

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

/zcbor-latest/tests/unit/test2_cpp/src/
Dmain.cpp83 zcbor_tstr_expect_lit(state_d, "World"); in main()
/zcbor-latest/include/
Dzcbor_decode.h367 #define zcbor_tstr_expect_lit(state, str) zcbor_tstr_expect_ptr(state, str, sizeof(str) - 1) macro
/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c203 zassert_false(zcbor_tstr_expect_lit(state_d, "Hello"), NULL); in ZTEST()
212 zassert_false(zcbor_tstr_expect_lit(state_d, "hello"), NULL); in ZTEST()
213 zassert_true(zcbor_tstr_expect_lit(state_d, "Hello"), NULL); in ZTEST()
333 zassert_false(zcbor_tstr_expect_lit(state_d, "World"), NULL); in ZTEST()
370 zassert_true(zcbor_tstr_expect_lit(state_d, "World"), NULL); in ZTEST()
606 zassert_false(zcbor_tstr_expect_lit(state_d, "Hello World"), NULL); in ZTEST()