/* Test the Unicode character type functions.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+ fflush (stderr); \
abort (); \
} \
} \
uc_general_category_and (
uc_general_category_or (UC_LETTER, UC_DECIMAL_DIGIT_NUMBER),
uc_general_category_or (UC_UPPERCASE_LETTER, UC_NUMBER));
-
+
ASSERT (uc_is_general_category ('A', ct));
ASSERT (!uc_is_general_category ('a', ct));
ASSERT (uc_is_general_category ('7', ct));