Lines Matching refs:expected
168 * The assertion passes if `gotten' is equal to `expected'.
171 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected,
174 #define ASSERT_INT(gotten, expected) \
176 idn_testsuite_assertint(ctx__, gotten, expected, __FILE__, __LINE__); \
183 * The assertion passes if `gotten' is lexically equal to `expected'.
187 const char *expected, const char *file, int lineno);
189 #define ASSERT_STRING(gotten, expected) \
191 idn_testsuite_assertstring(ctx__, gotten, expected, __FILE__, __LINE__); \
198 * The assertion passes if `gotten' is equal to `expected'.
202 const void *expected, const char *file, int lineno);
204 #define ASSERT_PTR(gotten, expected) \
206 idn_testsuite_assertptr(ctx__, gotten, expected, __FILE__, __LINE__); \
213 * The assertion passes if `gotten' is NOT equal to `expected'.
229 * The assertion passes if `gotten' is equal to `expected'.
233 idn_result_t gotten, idn_result_t expected,
236 #define ASSERT_RESULT(gotten, expected) \
238 idn_testsuite_assertresult(ctx__, gotten, expected, __FILE__, __LINE__); \
245 * The assertion passes if `gotten' is lexically equal to `expected'.
250 const unsigned long *expected,
254 #define ASSERT_UCS4STRING_THRU(gotten, expected) \
255 idn_testsuite_assertucs4string(ctx__, gotten, expected, __FILE__, __LINE__)
256 #define ASSERT_UCS4STRING(gotten, expected) \
258 ASSERT_UCS4STRING_THRU(gotten, expected); \