chiark / gitweb /
document new choose screen properly
[disorder] / lib / t-casefold.c
index f86738e5a001793d1372c868c184966833b26d73..449eaffb7583e12ed37a21a4cea2a396c028b16d 100644 (file)
  */
 #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;
 
-  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. */
   
@@ -75,6 +73,8 @@ void test_casefold(void) {
   check_string(utf8_casefold_canon("", 0, 0), "");
 }
 
+TEST(casefold);
+
 /*
 Local Variables:
 c-basic-offset:2