chiark / gitweb /
tone down logging some more
[disorder] / lib / test.c
index ed765e7d89eb56a9ce25358d006bd5349c1a23a4..2b40a44999ee6cf834754b2594a130576dcbd8ee 100644 (file)
@@ -350,13 +350,16 @@ static void test_casefold(void) {
       else
        l = c;
       break;
+#if 0
+      /* unidata-based case folding doens't support special cases */
     case 0xB5:                         /* MICRO SIGN */
-      l = 0x3BC;                       /* GREEK SMALL LETTER MU */
+      l = 0x39C;                       /* GREEK SMALL LETTER MU */
       break;
     case 0xDF:                         /* LATIN SMALL LETTER SHARP S */
       insist(!strcmp(ls, "ss"));
       l = 0;
       break;
+#endif
     }
     if(l) {
       u[0] = l;
@@ -377,7 +380,10 @@ static void test_casefold(void) {
 /** @brief Less-than comparison function for integer heap */
 static inline int int_lt(int a, int b) { return a < b; }
 
+/** @struct iheap
+ * @brief A heap with @c int elements */
 HEAP_TYPE(iheap, int, int_lt);
+HEAP_DEFINE(iheap, int, int_lt);
 
 /** @brief Tests for @ref heap.h */
 static void test_heap(void) {