Tests for module 'uninorm/u16-normcmp'.
[pspp] / tests / uninorm / test-u16-nfd.c
index 84499f0d3722c54084356853ac8c7eb5235f8506..161abd47408255f0c24b58ae532c1b691d95a851 100644 (file)
@@ -103,6 +103,9 @@ check (const uint16_t *input, size_t input_length,
 void
 test_u16_nfd (void)
 {
+  { /* Empty string.  */
+    ASSERT (check (NULL, 0, NULL, 0) == 0);
+  }
   { /* SPACE */
     static const uint16_t input[]    = { 0x0020 };
     ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0);