Mercurial > hg > octave-lojdl > gnulib-hg
view modules/unigbrk/uc-gbrk-prop-tests @ 14075:ca165ba0f722
unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.
gbrkprop: Fix implementation of uc_graphemeclusterbreak_property.
* lib/unigbrk/gbrkprop.h: Regenerate with gen-uni-tables.c. I had
modified how this file was generated before I initially submitted
the module, but failed to regenerate it. This meant that several
of the level2 entries were wrong.
* lib/unigbrk/uc-gbrk-prop.h (uc_graphemeclusterbreak_property):
Remove the division-by-2 that is folded into the table now that
gbrkprop.h has been regenerated properly. Now -1 entries are
handled correctly.
New module 'unigbrk/uc-gbrk-prop-tests'.
* modules/unigbrk/uc-gbrk-prop-tests: New file.
* lib/gen-uni-tables.c: Generate tests/test-uc-gbrk-prop.h.
* tests/unigbrk/test-uc-gbrk-prop.c: New file.
* tests/unigbrk/test-uc-gbrk-prop.h: New file.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Sat, 01 Jan 2011 08:25:31 -0800 |
parents | |
children |
line wrap: on
line source
Files: tests/unigbrk/test-uc-gbrk-prop.c tests/unigbrk/test-uc-gbrk-prop.h tests/macros.h Depends-on: configure.ac: Makefile.am: TESTS += test-uc-gbrk-prop check_PROGRAMS += test-uc-gbrk-prop test_uc_gbrk_prop_SOURCES = unigbrk/test-uc-gbrk-prop.c test_uc_gbrk_prop_LDADD = $(LDADD) $(LIBUNISTRING)