Lines Matching refs:unit_assert
59 unit_assert(slen >= blen*2+2); in buf_to_hex()
91 unit_assert(err == 0); in rr_transform()
96 unit_assert(err < (int)bufs && err > 0); in rr_transform()
107 unit_assert(err == 0); in rr_transform()
132 unit_assert(strcmp(txt_chk, txt_out) == 0); in rr_checks()
133 unit_assert(strcmp(wire_chk, wire_out) == 0); in rr_checks()
134 unit_assert(strcmp(wire_chk, back) == 0); in rr_checks()
246 unit_assert(result == (int)strlen("hello") && strcmp(target, "hello") == 0); in b64_test()
249 unit_assert(result == (int)strlen("hello>") && strcmp(target, "hello>") == 0); in b64_test()
252 unit_assert(result == (int)strlen("hello?!") && strcmp(target, "hello?!") == 0); in b64_test()
257 unit_assert(result == (int)strlen("hel") && strcmp(target, "hel") == 0); in b64_test()
261 unit_assert(result == (int)strlen("hello") && strcmp(target, "hello") == 0); in b64_test()
264 unit_assert(result == (int)strlen("hello>") && strcmp(target, "hello>") == 0); in b64_test()
267 unit_assert(result == (int)strlen("hello+/") && strcmp(target, "hello?!") == 0); in b64_test()
271 unit_assert(result == -1); in b64_test()