chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/ tests now use Automake's test infrastructure, and are split into
[disorder]
/
lib
/
t-casefold.c
diff --git
a/lib/t-casefold.c
b/lib/t-casefold.c
index f86738e5a001793d1372c868c184966833b26d73..449eaffb7583e12ed37a21a4cea2a396c028b16d 100644
(file)
--- a/
lib/t-casefold.c
+++ b/
lib/t-casefold.c
@@
-19,12
+19,10
@@
*/
#include "test.h"
*/
#include "test.h"
-void test_casefold(void) {
+
static
void test_casefold(void) {
uint32_t c, l;
const char *input, *canon_folded, *compat_folded, *canon_expected, *compat_expected;
uint32_t c, l;
const char *input, *canon_folded, *compat_folded, *canon_expected, *compat_expected;
- fprintf(stderr, "test_casefold\n");
-
/* This isn't a very exhaustive test. Unlike for normalization, there don't
* seem to be any public test vectors for these algorithms. */
/* This isn't a very exhaustive test. Unlike for normalization, there don't
* seem to be any public test vectors for these algorithms. */
@@
-75,6
+73,8
@@
void test_casefold(void) {
check_string(utf8_casefold_canon("", 0, 0), "");
}
check_string(utf8_casefold_canon("", 0, 0), "");
}
+TEST(casefold);
+
/*
Local Variables:
c-basic-offset:2
/*
Local Variables:
c-basic-offset:2