From 935b1de2df82d1bf9830cdcdfcfcb2a30829bb76 Mon Sep 17 00:00:00 2001 From: roker Date: Fri, 8 Oct 2021 11:15:01 +0200 Subject: [PATCH] fix unittest_nfc16 and comment the unusual behavior of . :-/ --- test/unittest_nfc16.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unittest_nfc16.cc b/test/unittest_nfc16.cc index ef23de7..c06dbdf 100644 --- a/test/unittest_nfc16.cc +++ b/test/unittest_nfc16.cc @@ -52,7 +52,8 @@ const std::vector testValues = { u"a\u0305\u033c", false, IsNFC::No , u"a\u033c\u0305"}, // a + + (overline + seagull_below) { u"a\u033c\u0305", true, IsNFC::Yes , u"a\u033c\u0305"}, // a + + (seagull_below + overline) - { u"\U0001D161", false, IsNFC::No, u"x" }, // MUSICAL SYMBOL SIXTEENTH NOTE + // MUSICAL SYMBOL SIXTEENTH NOTE -> will be decomposed and not re-composed according to Unicode data, for whatever reason. :-/ + { u"\U0001D161", false, IsNFC::No, u"\U0001d15f\U0001d16f" }, { u16string_view(nullo, 1), true, IsNFC::Yes, u16string_view(nullo, 1) }, // Yeah, 1 NUL byte { u16string_view(nullo, 4), true, IsNFC::Yes, u16string_view(nullo, 4) }, // Yeah, 4 NUL bytes