aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-06-27 12:14:09 +0000
committerAndreas Jaeger <aj@suse.de>2000-06-27 12:14:09 +0000
commit5b905722f66719de502ecd6129ef9a1bda4f9f47 (patch)
treee74e131343a6427f807f151abcabcce2c62f94ee /localedata/tests-mbwc/dat_iswlower.c
parentAdd missing / in LC_CTYPE. (diff)
downloadglibc-5b905722f66719de502ecd6129ef9a1bda4f9f47.tar.gz
glibc-5b905722f66719de502ecd6129ef9a1bda4f9f47.tar.bz2
glibc-5b905722f66719de502ecd6129ef9a1bda4f9f47.zip
* Makefile (tests): Add tests from tests-mbwc subdirectory,
comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths. * Makefile (tests): Add tests from tests-mbwc subdirectory, comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths.
Diffstat (limited to 'localedata/tests-mbwc/dat_iswlower.c')
-rw-r--r--localedata/tests-mbwc/dat_iswlower.c92
1 files changed, 92 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/dat_iswlower.c b/localedata/tests-mbwc/dat_iswlower.c
new file mode 100644
index 0000000000..8cd401d28e
--- /dev/null
+++ b/localedata/tests-mbwc/dat_iswlower.c
@@ -0,0 +1,92 @@
+/*
+ * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
+ *
+ * FILE: dat_iswlower.c
+ *
+ * ISW*: int iswlower (wint_t wc);
+ */
+
+
+#include "dat_isw-funcs.h"
+
+
+TST_ISW_LOC (LOWER, lower) = {
+
+ { TST_ISW_REC (de, lower)
+ {
+ { { 0x0080 }, { 0,0,1,0 } }, /* CTRL */
+ { { 0x009F }, { 0,0,1,0 } }, /* CTRL */
+ { { 0x00A0 }, { 0,0,1,0 } }, /* NB SPACE */
+ { { 0x00A1 }, { 0,0,1,0 } }, /* UD ! */
+ { { 0x00B0 }, { 0,0,1,0 } }, /* Degree */
+ { { 0x00B1 }, { 0,0,1,0 } }, /* +- sign */
+ { { 0x00B2 }, { 0,0,1,0 } }, /* SUP 2 */
+ { { 0x00B3 }, { 0,0,1,0 } }, /* SUP 3 */
+ { { 0x00B4 }, { 0,0,1,0 } }, /* ACUTE */
+ { { 0x00B8 }, { 0,0,1,0 } }, /* CEDILLA */
+ { { 0x00B9 }, { 0,0,1,0 } }, /* SUP 1 */
+ { { 0x00BB }, { 0,0,1,0 } }, /* >> */
+ { { 0x00BC }, { 0,0,1,0 } }, /* 1/4 */
+ { { 0x00BD }, { 0,0,1,0 } }, /* 1/2 */
+ { { 0x00BE }, { 0,0,1,0 } }, /* 3/4 */
+ { { 0x00BF }, { 0,0,1,0 } }, /* UD ? */
+ { { 0x00C0 }, { 0,0,1,0 } }, /* A Grave */
+ { { 0x00D6 }, { 0,0,1,0 } }, /* O dia */
+ { { 0x00D7 }, { 0,0,1,0 } }, /* multipl. */
+ { { 0x00D8 }, { 0,0,1,0 } }, /* O stroke */
+ { { 0x00DF }, { 0,0,0,0 } }, /* small Sh */
+ { { 0x00E0 }, { 0,0,0,0 } }, /* a grave */
+ { { 0x00F6 }, { 0,0,0,0 } }, /* o dia */
+ { { 0x00F7 }, { 0,0,1,0 } }, /* division */
+ { { 0x00F8 }, { 0,0,0,0 } }, /* o stroke */
+ { { 0x00FF }, { 0,0,0,0 } }, /* y dia */
+ { is_last: 1 } /* Last element. */
+ }
+ },
+ { TST_ISW_REC (enUS, lower)
+ {
+ { { WEOF }, { 0,0,1,0 } },
+ { { 0x0000 }, { 0,0,1,0 } },
+ { { 0x001F }, { 0,0,1,0 } },
+ { { 0x0020 }, { 0,0,1,0 } },
+ { { 0x0021 }, { 0,0,1,0 } },
+ { { 0x002F }, { 0,0,1,0 } },
+ { { 0x0030 }, { 0,0,1,0 } },
+ { { 0x0039 }, { 0,0,1,0 } },
+ { { 0x003A }, { 0,0,1,0 } },
+ { { 0x0040 }, { 0,0,1,0 } },
+ { { 0x0041 }, { 0,0,1,0 } },
+ { { 0x005A }, { 0,0,1,0 } },
+ { { 0x005B }, { 0,0,1,0 } },
+ { { 0x0060 }, { 0,0,1,0 } },
+ { { 0x0061 }, { 0,0,0,0 } },
+ { { 0x007A }, { 0,0,0,0 } },
+ { { 0x007B }, { 0,0,1,0 } },
+ { { 0x007E }, { 0,0,1,0 } },
+ { { 0x007F }, { 0,0,1,0 } },
+ { { 0x0080 }, { 0,0,1,0 } },
+ { is_last: 1 } /* Last element. */
+ }
+ },
+ { TST_ISW_REC (eucJP, lower)
+ {
+ { { 0x3000 }, { 0,0,1,0 } }, /* IDEO. SPACE */
+ { { 0x303F }, { 0,0,1,0 } }, /* IDEO. HALF SPACE */
+ { { 0x3041 }, { 0,0,1,0 } }, /* HIRAGANA a */
+ { { 0x3094 }, { 0,0,1,0 } }, /* HIRAGANA u" */
+ { { 0x3099 }, { 0,0,1,0 } }, /* SOUND MARK */
+ { { 0x309E }, { 0,0,1,0 } }, /* ITERATION MARK */
+ { { 0x30A1 }, { 0,0,1,0 } }, /* KATAKANA a */
+ { { 0x30FA }, { 0,0,1,0 } }, /* KATAKANA wo" */
+ { { 0xFF3A }, { 0,0,1,0 } }, /* FULL Z */
+ { { 0xFF40 }, { 0,0,1,0 } }, /* FULL GRAVE ACC. */
+ { { 0xFF5A }, { 0,0,0,0 } }, /* FULL z */
+ { { 0xFF6F }, { 0,0,1,0 } }, /* HALF KATA tu */
+ { { 0xFF71 }, { 0,0,1,0 } }, /* HALF KATA A */
+ { { 0xFF9E }, { 0,0,1,0 } }, /* HALF KATA MI */
+ { is_last: 1 } /* Last element. */
+ }
+ },
+ { TST_ISW_REC (end, lower) }
+
+};