TNT/tests
m1ngsama 2535d8bfd4 test: add comprehensive unit tests for UTF-8 and message functions
Add 31 unit tests covering core functionality:
- UTF-8 byte length detection
- UTF-8 character decoding (1-4 byte sequences)
- Character width calculation (ASCII, CJK, Hangul, Hiragana, Katakana)
- String width calculation
- Character/word removal functions
- UTF-8 validation
- Message formatting and edge cases

Test results: 31/31 passed ✓

Files:
- tests/unit/test_utf8.c (20 tests)
- tests/unit/test_message.c (11 tests)
- tests/unit/Makefile (build configuration)
2026-02-08 10:29:19 +08:00
..
unit test: add comprehensive unit tests for UTF-8 and message functions 2026-02-08 10:29:19 +08:00
test_anonymous_access.sh refactor: optimize rendering, log loading, and migrate to libssh callback API (#9) 2026-02-07 23:17:55 +08:00
test_basic.sh refactor: optimize rendering, log loading, and migrate to libssh callback API (#9) 2026-02-07 23:17:55 +08:00
test_security_features.sh refactor: optimize rendering, log loading, and migrate to libssh callback API (#9) 2026-02-07 23:17:55 +08:00
test_stress.sh refactor: optimize rendering, log loading, and migrate to libssh callback API (#9) 2026-02-07 23:17:55 +08:00