diff --git a/test-canonical-decomposition.c b/home/dhsung/Projects/libunistring/tests/uninorm/test-canonical-decomposition.c index 4299e40..4050fa9 100644 --- a/test-canonical-decomposition.c +++ b/home/dhsung/Projects/libunistring/tests/uninorm/test-canonical-decomposition.c @@ -14,7 +14,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* Written by Bruno Haible , 2009. */ +/* Written by Bruno Haible , 2009. + * Modified by DaeHyun Sung , 2017. */ #include @@ -120,18 +121,10 @@ main () /* HANGUL SYLLABLE GEUL */ ret = uc_canonical_decomposition (0xAE00, decomposed); - /* See the clarification at , - section "Clarification of Hangul Jamo Handling". */ -#if 1 - ASSERT (ret == 2); - ASSERT (decomposed[0] == 0xADF8); - ASSERT (decomposed[1] == 0x11AF); -#else ASSERT (ret == 3); ASSERT (decomposed[0] == 0x1100); ASSERT (decomposed[1] == 0x1173); ASSERT (decomposed[2] == 0x11AF); -#endif /* HANGUL SYLLABLE GEU */ ret = uc_canonical_decomposition (0xADF8, decomposed);