tests: Port gen-casefold-txt.pl and gen-casemap-txt.pl to Python 3. See #1332

I've tried to keep the code structure roughly the same.
This commit is contained in:
Christoph Reiter
2018-05-29 11:31:49 +02:00
parent 603d40467c
commit a580185cdc
8 changed files with 283 additions and 343 deletions

View File

@@ -57,7 +57,7 @@ int main (int argc, char **argv)
test = strings[1];
/* gen-casemap-txt.pl uses an empty string when a single character
/* gen-casemap-txt.py uses an empty string when a single character
* doesn't have an equivalent in a particular case; since that behavior
* is nonsense for multicharacter strings, it would make more sense
* to put the expected result .. the original character unchanged. But