Tests for module 'uninorm/u16-normcmp'.
[pspp] / tests / uninorm / test-u8-nfd.c
index 9dfde02c23dd3e3bf5a0c8fdaeabdeb479f20bf7..2338e8f8f608dd9898eebf6659670628020237ba 100644 (file)
@@ -103,6 +103,9 @@ check (const uint8_t *input, size_t input_length,
 void
 test_u8_nfd (void)
 {
+  { /* Empty string.  */
+    ASSERT (check (NULL, 0, NULL, 0) == 0);
+  }
   { /* SPACE */
     static const uint8_t input[]    = { 0x20 };
     ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0);