From 70aa18079f18dd4c638be0004d4084d382401cdf Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 25 Mar 2011 20:29:58 +0100 Subject: [PATCH] Tests for module 'unictype/category-LC'. * modules/unictype/category-LC-tests: New file. * tests/unictype/test-categ_LC.c: New file, automatically generated. --- ChangeLog | 4 ++ modules/unictype/category-LC-tests | 16 +++++ tests/unictype/test-categ_LC.c | 132 +++++++++++++++++++++++++++++++++++++ 3 files changed, 152 insertions(+) create mode 100644 modules/unictype/category-LC-tests create mode 100644 tests/unictype/test-categ_LC.c diff --git a/ChangeLog b/ChangeLog index a46136485..6d4431c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-03-25 Bruno Haible + Tests for module 'unictype/category-LC'. + * modules/unictype/category-LC-tests: New file. + * tests/unictype/test-categ_LC.c: New file, automatically generated. + New module 'unictype/category-LC'. * lib/unictype.in.h (UC_CATEGORY_MASK_LC): New enumeration value. (UC_CATEGORY_LC): New declaration. diff --git a/modules/unictype/category-LC-tests b/modules/unictype/category-LC-tests new file mode 100644 index 000000000..71d15bd3d --- /dev/null +++ b/modules/unictype/category-LC-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_LC.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_LC +check_PROGRAMS += test-categ_LC +test_categ_LC_SOURCES = unictype/test-categ_LC.c +test_categ_LC_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/tests/unictype/test-categ_LC.c b/tests/unictype/test-categ_LC.c new file mode 100644 index 000000000..7dcadaf42 --- /dev/null +++ b/tests/unictype/test-categ_LC.c @@ -0,0 +1,132 @@ +/* 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 . */ + +#include "test-predicate-part1.h" + + { 0x0041, 0x005A }, + { 0x0061, 0x007A }, + { 0x00AA, 0x00AA }, + { 0x00B5, 0x00B5 }, + { 0x00BA, 0x00BA }, + { 0x00C0, 0x00D6 }, + { 0x00D8, 0x00F6 }, + { 0x00F8, 0x01BA }, + { 0x01BC, 0x01BF }, + { 0x01C4, 0x0293 }, + { 0x0295, 0x02AF }, + { 0x0370, 0x0373 }, + { 0x0376, 0x0377 }, + { 0x037B, 0x037D }, + { 0x0386, 0x0386 }, + { 0x0388, 0x038A }, + { 0x038C, 0x038C }, + { 0x038E, 0x03A1 }, + { 0x03A3, 0x03F5 }, + { 0x03F7, 0x0481 }, + { 0x048A, 0x0527 }, + { 0x0531, 0x0556 }, + { 0x0561, 0x0587 }, + { 0x10A0, 0x10C5 }, + { 0x1D00, 0x1D2B }, + { 0x1D62, 0x1D77 }, + { 0x1D79, 0x1D9A }, + { 0x1E00, 0x1F15 }, + { 0x1F18, 0x1F1D }, + { 0x1F20, 0x1F45 }, + { 0x1F48, 0x1F4D }, + { 0x1F50, 0x1F57 }, + { 0x1F59, 0x1F59 }, + { 0x1F5B, 0x1F5B }, + { 0x1F5D, 0x1F5D }, + { 0x1F5F, 0x1F7D }, + { 0x1F80, 0x1FB4 }, + { 0x1FB6, 0x1FBC }, + { 0x1FBE, 0x1FBE }, + { 0x1FC2, 0x1FC4 }, + { 0x1FC6, 0x1FCC }, + { 0x1FD0, 0x1FD3 }, + { 0x1FD6, 0x1FDB }, + { 0x1FE0, 0x1FEC }, + { 0x1FF2, 0x1FF4 }, + { 0x1FF6, 0x1FFC }, + { 0x2102, 0x2102 }, + { 0x2107, 0x2107 }, + { 0x210A, 0x2113 }, + { 0x2115, 0x2115 }, + { 0x2119, 0x211D }, + { 0x2124, 0x2124 }, + { 0x2126, 0x2126 }, + { 0x2128, 0x2128 }, + { 0x212A, 0x212D }, + { 0x212F, 0x2134 }, + { 0x2139, 0x2139 }, + { 0x213C, 0x213F }, + { 0x2145, 0x2149 }, + { 0x214E, 0x214E }, + { 0x2183, 0x2184 }, + { 0x2C00, 0x2C2E }, + { 0x2C30, 0x2C5E }, + { 0x2C60, 0x2C7C }, + { 0x2C7E, 0x2CE4 }, + { 0x2CEB, 0x2CEE }, + { 0x2D00, 0x2D25 }, + { 0xA640, 0xA66D }, + { 0xA680, 0xA697 }, + { 0xA722, 0xA76F }, + { 0xA771, 0xA787 }, + { 0xA78B, 0xA78E }, + { 0xA790, 0xA791 }, + { 0xA7A0, 0xA7A9 }, + { 0xA7FA, 0xA7FA }, + { 0xFB00, 0xFB06 }, + { 0xFB13, 0xFB17 }, + { 0xFF21, 0xFF3A }, + { 0xFF41, 0xFF5A }, + { 0x10400, 0x1044F }, + { 0x1D400, 0x1D454 }, + { 0x1D456, 0x1D49C }, + { 0x1D49E, 0x1D49F }, + { 0x1D4A2, 0x1D4A2 }, + { 0x1D4A5, 0x1D4A6 }, + { 0x1D4A9, 0x1D4AC }, + { 0x1D4AE, 0x1D4B9 }, + { 0x1D4BB, 0x1D4BB }, + { 0x1D4BD, 0x1D4C3 }, + { 0x1D4C5, 0x1D505 }, + { 0x1D507, 0x1D50A }, + { 0x1D50D, 0x1D514 }, + { 0x1D516, 0x1D51C }, + { 0x1D51E, 0x1D539 }, + { 0x1D53B, 0x1D53E }, + { 0x1D540, 0x1D544 }, + { 0x1D546, 0x1D546 }, + { 0x1D54A, 0x1D550 }, + { 0x1D552, 0x1D6A5 }, + { 0x1D6A8, 0x1D6C0 }, + { 0x1D6C2, 0x1D6DA }, + { 0x1D6DC, 0x1D6FA }, + { 0x1D6FC, 0x1D714 }, + { 0x1D716, 0x1D734 }, + { 0x1D736, 0x1D74E }, + { 0x1D750, 0x1D76E }, + { 0x1D770, 0x1D788 }, + { 0x1D78A, 0x1D7A8 }, + { 0x1D7AA, 0x1D7C2 }, + { 0x1D7C4, 0x1D7CB } + +#define PREDICATE(c) uc_is_general_category (c, UC_CATEGORY_LC) +#include "test-predicate-part2.h" -- 2.11.0