Lines Matching refs:b

89 #define tt_want_(b, msg, fail)				\  argument
91 if (!(b)) { \
101 #define tt_want_msg(b, msg) \ argument
102 tt_want_(b, msg, );
105 #define tt_assert_msg(b, msg) \ argument
106 tt_want_(b, msg, TT_EXIT_TEST_FUNCTION);
109 #define tt_want(b) tt_want_msg( (b), "want("#b")") argument
111 #define tt_assert(b) tt_assert_msg((b), "assert("#b")") argument
113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument
117 type val2_ = (type)(b); \
143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument
144 tt_assert_test_fmt_type(a,b,str_test,type,test,type,fmt, \
149 #define tt_assert_op_type(a,op,b,type,fmt) \ argument
150 tt_assert_test_type(a,b,#a" "#op" "#b,type,(val1_ op val2_),fmt, \
153 #define tt_int_op(a,op,b) \ argument
154 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_), \
157 #define tt_uint_op(a,op,b) \ argument
158 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
161 #define tt_ptr_op(a,op,b) \ argument
162 tt_assert_test_type(a,b,#a" "#op" "#b,void*, \
165 #define tt_str_op(a,op,b) \ argument
166 tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \
169 #define tt_want_int_op(a,op,b) \ argument
170 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_),"%ld",(void)0)
172 #define tt_want_uint_op(a,op,b) \ argument
173 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
176 #define tt_want_ptr_op(a,op,b) \ argument
177 tt_assert_test_type(a,b,#a" "#op" "#b,void*, \
180 #define tt_want_str_op(a,op,b) \ argument
181 tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \