Lines Matching full:expected
237 #define ASSERT_EQ(actual, expected, name) ({ \ argument
240 typeof(expected) ___exp = (expected); \
243 "unexpected %s: actual %lld != expected %lld\n", \
248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
251 typeof(expected) ___exp = (expected); \
254 "unexpected %s: actual %lld == expected %lld\n", \
259 #define ASSERT_LT(actual, expected, name) ({ \ argument
262 typeof(expected) ___exp = (expected); \
265 "unexpected %s: actual %lld >= expected %lld\n", \
270 #define ASSERT_LE(actual, expected, name) ({ \ argument
273 typeof(expected) ___exp = (expected); \
276 "unexpected %s: actual %lld > expected %lld\n", \
281 #define ASSERT_GT(actual, expected, name) ({ \ argument
284 typeof(expected) ___exp = (expected); \
287 "unexpected %s: actual %lld <= expected %lld\n", \
292 #define ASSERT_GE(actual, expected, name) ({ \ argument
295 typeof(expected) ___exp = (expected); \
298 "unexpected %s: actual %lld < expected %lld\n", \
303 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
306 const char *___exp = expected; \
309 "unexpected %s: actual '%s' != expected '%s'\n", \
314 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
317 const char *___exp = expected; \
321 "unexpected %s: actual '%.*s' != expected '%.*s'\n", \