Mercurial > hg > octave-nkf > gnulib-hg
changeset 11701:4b50bb02dc1b
Tests for module 'unicase/ignorable'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 01 Jul 2009 01:11:25 +0200 |
parents | bf09f7992056 |
children | daa1eb869953 |
files | ChangeLog modules/unicase/ignorable-tests tests/unicase/test-ignorable.c |
diffstat | 3 files changed, 265 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-06-30 Bruno Haible <bruno@clisp.org> + Tests for module 'unicase/ignorable'. + * modules/unicase/ignorable-tests: New file. + * tests/unicase/test-ignorable.c: New file, generated by + gen-uni-tables. + Tests for module 'unicase/cased'. * modules/unicase/cased-tests: New file. * tests/unicase/test-cased.c: New file, generated by gen-uni-tables.
new file mode 100644 --- /dev/null +++ b/modules/unicase/ignorable-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-ignorable.c +tests/unicase/test-predicate-part1.h +tests/unicase/test-predicate-part2.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ignorable +check_PROGRAMS += test-ignorable +test_ignorable_SOURCES = unicase/test-ignorable.c +
new file mode 100644 --- /dev/null +++ b/tests/unicase/test-ignorable.c @@ -0,0 +1,246 @@ +/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ +/* Test the Unicode character type functions. + Copyright (C) 2007 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 + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include "test-predicate-part1.h" + + { 0x0027, 0x0027 }, + { 0x002E, 0x002E }, + { 0x003A, 0x003A }, + { 0x005E, 0x005E }, + { 0x0060, 0x0060 }, + { 0x00A8, 0x00A8 }, + { 0x00AD, 0x00AD }, + { 0x00AF, 0x00AF }, + { 0x00B4, 0x00B4 }, + { 0x00B7, 0x00B8 }, + { 0x02B9, 0x02BF }, + { 0x02C2, 0x02DF }, + { 0x02E5, 0x0344 }, + { 0x0346, 0x036F }, + { 0x0374, 0x0375 }, + { 0x0384, 0x0385 }, + { 0x0387, 0x0387 }, + { 0x0483, 0x0489 }, + { 0x0559, 0x0559 }, + { 0x0591, 0x05BD }, + { 0x05BF, 0x05BF }, + { 0x05C1, 0x05C2 }, + { 0x05C4, 0x05C5 }, + { 0x05C7, 0x05C7 }, + { 0x05F4, 0x05F4 }, + { 0x0600, 0x0603 }, + { 0x0610, 0x061A }, + { 0x0640, 0x0640 }, + { 0x064B, 0x065E }, + { 0x0670, 0x0670 }, + { 0x06D6, 0x06E8 }, + { 0x06EA, 0x06ED }, + { 0x070F, 0x070F }, + { 0x0711, 0x0711 }, + { 0x0730, 0x074A }, + { 0x07A6, 0x07B0 }, + { 0x07EB, 0x07F5 }, + { 0x07FA, 0x07FA }, + { 0x0901, 0x0902 }, + { 0x093C, 0x093C }, + { 0x0941, 0x0948 }, + { 0x094D, 0x094D }, + { 0x0951, 0x0954 }, + { 0x0962, 0x0963 }, + { 0x0971, 0x0971 }, + { 0x0981, 0x0981 }, + { 0x09BC, 0x09BC }, + { 0x09C1, 0x09C4 }, + { 0x09CD, 0x09CD }, + { 0x09E2, 0x09E3 }, + { 0x0A01, 0x0A02 }, + { 0x0A3C, 0x0A3C }, + { 0x0A41, 0x0A42 }, + { 0x0A47, 0x0A48 }, + { 0x0A4B, 0x0A4D }, + { 0x0A51, 0x0A51 }, + { 0x0A70, 0x0A71 }, + { 0x0A75, 0x0A75 }, + { 0x0A81, 0x0A82 }, + { 0x0ABC, 0x0ABC }, + { 0x0AC1, 0x0AC5 }, + { 0x0AC7, 0x0AC8 }, + { 0x0ACD, 0x0ACD }, + { 0x0AE2, 0x0AE3 }, + { 0x0B01, 0x0B01 }, + { 0x0B3C, 0x0B3C }, + { 0x0B3F, 0x0B3F }, + { 0x0B41, 0x0B44 }, + { 0x0B4D, 0x0B4D }, + { 0x0B56, 0x0B56 }, + { 0x0B62, 0x0B63 }, + { 0x0B82, 0x0B82 }, + { 0x0BC0, 0x0BC0 }, + { 0x0BCD, 0x0BCD }, + { 0x0C3E, 0x0C40 }, + { 0x0C46, 0x0C48 }, + { 0x0C4A, 0x0C4D }, + { 0x0C55, 0x0C56 }, + { 0x0C62, 0x0C63 }, + { 0x0CBC, 0x0CBC }, + { 0x0CBF, 0x0CBF }, + { 0x0CC6, 0x0CC6 }, + { 0x0CCC, 0x0CCD }, + { 0x0CE2, 0x0CE3 }, + { 0x0D41, 0x0D44 }, + { 0x0D4D, 0x0D4D }, + { 0x0D62, 0x0D63 }, + { 0x0DCA, 0x0DCA }, + { 0x0DD2, 0x0DD4 }, + { 0x0DD6, 0x0DD6 }, + { 0x0E31, 0x0E31 }, + { 0x0E34, 0x0E3A }, + { 0x0E46, 0x0E4E }, + { 0x0EB1, 0x0EB1 }, + { 0x0EB4, 0x0EB9 }, + { 0x0EBB, 0x0EBC }, + { 0x0EC6, 0x0EC6 }, + { 0x0EC8, 0x0ECD }, + { 0x0F18, 0x0F19 }, + { 0x0F35, 0x0F35 }, + { 0x0F37, 0x0F37 }, + { 0x0F39, 0x0F39 }, + { 0x0F71, 0x0F7E }, + { 0x0F80, 0x0F84 }, + { 0x0F86, 0x0F87 }, + { 0x0F90, 0x0F97 }, + { 0x0F99, 0x0FBC }, + { 0x0FC6, 0x0FC6 }, + { 0x102D, 0x1030 }, + { 0x1032, 0x1037 }, + { 0x1039, 0x103A }, + { 0x103D, 0x103E }, + { 0x1058, 0x1059 }, + { 0x105E, 0x1060 }, + { 0x1071, 0x1074 }, + { 0x1082, 0x1082 }, + { 0x1085, 0x1086 }, + { 0x108D, 0x108D }, + { 0x10FC, 0x10FC }, + { 0x135F, 0x135F }, + { 0x1712, 0x1714 }, + { 0x1732, 0x1734 }, + { 0x1752, 0x1753 }, + { 0x1772, 0x1773 }, + { 0x17B4, 0x17B5 }, + { 0x17B7, 0x17BD }, + { 0x17C6, 0x17C6 }, + { 0x17C9, 0x17D3 }, + { 0x17D7, 0x17D7 }, + { 0x17DD, 0x17DD }, + { 0x180B, 0x180D }, + { 0x1843, 0x1843 }, + { 0x18A9, 0x18A9 }, + { 0x1920, 0x1922 }, + { 0x1927, 0x1928 }, + { 0x1932, 0x1932 }, + { 0x1939, 0x193B }, + { 0x1A17, 0x1A18 }, + { 0x1B00, 0x1B03 }, + { 0x1B34, 0x1B34 }, + { 0x1B36, 0x1B3A }, + { 0x1B3C, 0x1B3C }, + { 0x1B42, 0x1B42 }, + { 0x1B6B, 0x1B73 }, + { 0x1B80, 0x1B81 }, + { 0x1BA2, 0x1BA5 }, + { 0x1BA8, 0x1BA9 }, + { 0x1C2C, 0x1C33 }, + { 0x1C36, 0x1C37 }, + { 0x1C78, 0x1C7D }, + { 0x1DC0, 0x1DE6 }, + { 0x1DFE, 0x1DFF }, + { 0x1FBD, 0x1FBD }, + { 0x1FBF, 0x1FC1 }, + { 0x1FCD, 0x1FCF }, + { 0x1FDD, 0x1FDF }, + { 0x1FED, 0x1FEF }, + { 0x1FFD, 0x1FFE }, + { 0x200B, 0x200F }, + { 0x2018, 0x2019 }, + { 0x2024, 0x2024 }, + { 0x2027, 0x2027 }, + { 0x202A, 0x202E }, + { 0x2060, 0x2064 }, + { 0x206A, 0x206F }, + { 0x20D0, 0x20F0 }, + { 0x2D6F, 0x2D6F }, + { 0x2DE0, 0x2DFF }, + { 0x2E2F, 0x2E2F }, + { 0x3005, 0x3005 }, + { 0x302A, 0x302F }, + { 0x3031, 0x3035 }, + { 0x303B, 0x303B }, + { 0x3099, 0x309E }, + { 0x30FC, 0x30FE }, + { 0xA015, 0xA015 }, + { 0xA60C, 0xA60C }, + { 0xA66F, 0xA672 }, + { 0xA67C, 0xA67D }, + { 0xA67F, 0xA67F }, + { 0xA700, 0xA721 }, + { 0xA788, 0xA78A }, + { 0xA802, 0xA802 }, + { 0xA806, 0xA806 }, + { 0xA80B, 0xA80B }, + { 0xA825, 0xA826 }, + { 0xA8C4, 0xA8C4 }, + { 0xA926, 0xA92D }, + { 0xA947, 0xA951 }, + { 0xAA29, 0xAA2E }, + { 0xAA31, 0xAA32 }, + { 0xAA35, 0xAA36 }, + { 0xAA43, 0xAA43 }, + { 0xAA4C, 0xAA4C }, + { 0xFB1E, 0xFB1E }, + { 0xFE00, 0xFE0F }, + { 0xFE13, 0xFE13 }, + { 0xFE20, 0xFE26 }, + { 0xFE52, 0xFE52 }, + { 0xFE55, 0xFE55 }, + { 0xFEFF, 0xFEFF }, + { 0xFF07, 0xFF07 }, + { 0xFF0E, 0xFF0E }, + { 0xFF1A, 0xFF1A }, + { 0xFF3E, 0xFF3E }, + { 0xFF40, 0xFF40 }, + { 0xFF70, 0xFF70 }, + { 0xFF9E, 0xFF9F }, + { 0xFFE3, 0xFFE3 }, + { 0xFFF9, 0xFFFB }, + { 0x101FD, 0x101FD }, + { 0x10A01, 0x10A03 }, + { 0x10A05, 0x10A06 }, + { 0x10A0C, 0x10A0F }, + { 0x10A38, 0x10A3A }, + { 0x10A3F, 0x10A3F }, + { 0x1D167, 0x1D169 }, + { 0x1D173, 0x1D182 }, + { 0x1D185, 0x1D18B }, + { 0x1D1AA, 0x1D1AD }, + { 0x1D242, 0x1D244 }, + { 0xE0001, 0xE0001 }, + { 0xE0020, 0xE007F }, + { 0xE0100, 0xE01EF } + +#define PREDICATE(c) uc_is_case_ignorable (c) +#include "test-predicate-part2.h"