| 1 |
# NormalizationTest-15.0.0.txt |
| 2 |
# Date: 2022-04-02, 01:29:09 GMT |
| 3 |
# © 2022 Unicode®, Inc. |
| 4 |
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. |
| 5 |
# For terms of use, see https://www.unicode.org/terms_of_use.html |
| 6 |
# |
| 7 |
# Unicode Character Database |
| 8 |
# For documentation, see https://www.unicode.org/reports/tr44/ |
| 9 |
# |
| 10 |
# Normalization Test Suite |
| 11 |
# Format: |
| 12 |
# |
| 13 |
# Columns (c1, c2,...) are separated by semicolons |
| 14 |
# They have the following meaning: |
| 15 |
# source; NFC; NFD; NFKC; NFKD |
| 16 |
# Comments are indicated with hash marks |
| 17 |
# Each of the columns may have one or more code points. |
| 18 |
# |
| 19 |
# CONFORMANCE: |
| 20 |
# 1. The following invariants must be true for all conformant implementations |
| 21 |
# |
| 22 |
# NFC |
| 23 |
# c2 == toNFC(c1) == toNFC(c2) == toNFC(c3) |
| 24 |
# c4 == toNFC(c4) == toNFC(c5) |
| 25 |
# |
| 26 |
# NFD |
| 27 |
# c3 == toNFD(c1) == toNFD(c2) == toNFD(c3) |
| 28 |
# c5 == toNFD(c4) == toNFD(c5) |
| 29 |
# |
| 30 |
# NFKC |
| 31 |
# c4 == toNFKC(c1) == toNFKC(c2) == toNFKC(c3) == toNFKC(c4) == toNFKC(c5) |
| 32 |
# |
| 33 |
# NFKD |
| 34 |
# c5 == toNFKD(c1) == toNFKD(c2) == toNFKD(c3) == toNFKD(c4) == toNFKD(c5) |
| 35 |
# |
| 36 |
# 2. For every code point X assigned in this version of Unicode that is not specifically |
| 37 |
# listed in Part 1, the following invariants must be true for all conformant |
| 38 |
# implementations: |
| 39 |
# |
| 40 |
# X == toNFC(X) == toNFD(X) == toNFKC(X) == toNFKD(X) |
| 41 |
# |
| 42 |
@Part0 # Specific cases |
| 43 |
# |
| 44 |
@Part1 # Character by character test |
| 45 |
# All characters not explicitly occurring in c1 of Part 1 have identical NFC, D, KC, KD forms. |
| 46 |
# |
| 47 |
@Part2 # Canonical Order Test |
| 48 |
# |
| 49 |
@Part3 # PRI #29 Test |
| 50 |
# |