Searched refs:cset (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 334 const char *cset = "abc"; in ZTEST() local 339 zassert_true(strspn("abde", cset) == 2U, "strspn match"); in ZTEST() 340 zassert_true(strcspn("abde", cset) == 0U, "strcspn nomatch"); in ZTEST() 342 zassert_true(strspn("da", cset) == 0U, "strspn nomatch"); in ZTEST() 343 zassert_true(strcspn("da", cset) == 1U, "strcspn match"); in ZTEST() 345 zassert_true(strspn("abac", cset) == 4U, "strspn all"); in ZTEST() 346 zassert_true(strcspn("defg", cset) == 4U, "strcspn all"); in ZTEST()
|