Lines Matching full:expected
249 #define ASSERT_EQ(actual, expected, name) ({ \
252 typeof(expected) ___exp = (expected); \
255 "unexpected %s: actual %lld != expected %lld\n", \
260 #define ASSERT_NEQ(actual, expected, name) ({ \
263 typeof(expected) ___exp = (expected); \
266 "unexpected %s: actual %lld == expected %lld\n", \
271 #define ASSERT_LT(actual, expected, name) ({ \
274 typeof(expected) ___exp = (expected); \
277 "unexpected %s: actual %lld >= expected %lld\n", \
282 #define ASSERT_LE(actual, expected, name) ({ \
285 typeof(expected) ___exp = (expected); \
288 "unexpected %s: actual %lld > expected %lld\n", \
293 #define ASSERT_GT(actual, expected, name) ({ \
296 typeof(expected) ___exp = (expected); \
299 "unexpected %s: actual %lld <= expected %lld\n", \
304 #define ASSERT_GE(actual, expected, name) ({ \
307 typeof(expected) ___exp = (expected); \
310 "unexpected %s: actual %lld < expected %lld\n", \
315 #define ASSERT_STREQ(actual, expected, name) ({ \
318 const char *___exp = expected; \
321 "unexpected %s: actual '%s' != expected '%s'\n", \
326 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \
329 const char *___exp = expected; \
333 "unexpected %s: actual '%.*s' != expected '%.*s'\n", \
349 #define ASSERT_MEMEQ(actual, expected, len, name) ({ \
352 const void *__exp = expected; \
358 fprintf(stdout, "expected:\n"); \