]> Kevux Git Server - fll/commit
Update: Add unit tests in f_utf project.
authorKevin Day <thekevinday@gmail.com>
Tue, 14 Jun 2022 12:25:18 +0000 (07:25 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 14 Jun 2022 12:25:18 +0000 (07:25 -0500)
commit6be200a8713b0f77d645392305738a9e214cdc26
treeb3ccf89bac09924b4a1a751e8474ebf35eaaad57
parentfecad3fc18350757bd4b8e9560e08c081b11688d
Update: Add unit tests in f_utf project.

These tests are created based on the comments in the code.
Unlike previous tests, I reviewed the Unicode database separate of my code.
This approach is faster but will not expose any Unicode Codepoints that I missed when writing the code.

This adds tests for the following:
- combining
- phonetic
- subscript
- superscript
- wide
12 files changed:
level_0/f_utf/data/build/settings-tests
level_0/f_utf/data/tests/bytesequences/combining-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/bytesequences/phonetic-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/bytesequences/subscript-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/bytesequences/superscript-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/bytesequences/wide-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/codepoints/combining-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/codepoints/phonetic-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/codepoints/subscript-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/codepoints/superscript-all.txt [new file with mode: 0644]
level_0/f_utf/data/tests/codepoints/wide-all.txt [new file with mode: 0644]
level_0/f_utf/tests/unit/c/test-utf.c