Lines Matching refs:_expected
313 #define _ASSERT_EQ(_expected, _seen) \ argument
314 __EXPECT(_expected, _seen, ==, 1)
315 #define _ASSERT_NE(_expected, _seen) \ argument
316 __EXPECT(_expected, _seen, !=, 1)
317 #define _ASSERT_LT(_expected, _seen) \ argument
318 __EXPECT(_expected, _seen, <, 1)
319 #define _ASSERT_LE(_expected, _seen) \ argument
320 __EXPECT(_expected, _seen, <=, 1)
321 #define _ASSERT_GT(_expected, _seen) \ argument
322 __EXPECT(_expected, _seen, >, 1)
323 #define _ASSERT_GE(_expected, _seen) \ argument
324 __EXPECT(_expected, _seen, >=, 1)
332 #define _ASSERT_STREQ(_expected, _seen) \ argument
333 __EXPECT_STR(_expected, _seen, ==, 1)
334 #define _ASSERT_STRNE(_expected, _seen) \ argument
335 __EXPECT_STR(_expected, _seen, !=, 1)
337 #define _EXPECT_EQ(_expected, _seen) \ argument
338 __EXPECT(_expected, _seen, ==, 0)
339 #define _EXPECT_NE(_expected, _seen) \ argument
340 __EXPECT(_expected, _seen, !=, 0)
341 #define _EXPECT_LT(_expected, _seen) \ argument
342 __EXPECT(_expected, _seen, <, 0)
343 #define _EXPECT_LE(_expected, _seen) \ argument
344 __EXPECT(_expected, _seen, <=, 0)
345 #define _EXPECT_GT(_expected, _seen) \ argument
346 __EXPECT(_expected, _seen, >, 0)
347 #define _EXPECT_GE(_expected, _seen) \ argument
348 __EXPECT(_expected, _seen, >=, 0)
357 #define _EXPECT_STREQ(_expected, _seen) \ argument
358 __EXPECT_STR(_expected, _seen, ==, 0)
359 #define _EXPECT_STRNE(_expected, _seen) \ argument
360 __EXPECT_STR(_expected, _seen, !=, 0)
373 #define __EXPECT(_expected, _seen, _t, _assert) do { \ argument
375 __typeof__(_expected) __exp = (_expected); \
381 #_expected, __exp_print, #_t, \
389 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument
390 const char *__exp = (_expected); \