diff options
| author | Julian Hurst <ark@mansus.space> | 2025-03-21 19:24:09 +0100 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2025-03-21 19:24:09 +0100 |
| commit | c117966782fe826ae0146467dacb4ad20893046e (patch) | |
| tree | 779132015cf3c1f44feefc6727ddccb5a6fa6ebf /tests/runewidth.ha | |
| parent | 6cb9d6f8756e690e6cd2360b8b1ab531da45c405 (diff) | |
| download | hare-tui-c117966782fe826ae0146467dacb4ad20893046e.tar.gz | |
Add a bunch of unicode blocks to width.ha
Diffstat (limited to 'tests/runewidth.ha')
| -rw-r--r-- | tests/runewidth.ha | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/runewidth.ha b/tests/runewidth.ha index 5e570a5..820dcf0 100644 --- a/tests/runewidth.ha +++ b/tests/runewidth.ha @@ -6,4 +6,20 @@ fn runewidth() void = { assert(tui::runewidth('大') == 2); assert(tui::runewidth('ぁ') == 2); assert(tui::runewidth('😀') == 2); + assert(tui::runewidth('近') == 2); + assert(tui::runewidth('く') == 2); + assert(tui::runewidth('の') == 2); + assert(tui::runewidth('さ') == 2); + assert(tui::runewidth('や') == 2); + assert(tui::runewidth('き') == 2); + assert(tui::runewidth('😪') == 2); + assert(tui::runewidth('「') == 2); + assert(tui::runewidth('ま') == 2); + assert(tui::runewidth('行') == 2); + assert(tui::runewidth('」') == 2); + assert(tui::runewidth('オ') == 2); + assert(tui::runewidth('ノ') == 2); + assert(tui::runewidth('マ') == 2); + assert(tui::runewidth('ト') == 2); + assert(tui::runewidth('ペ') == 2); }; |
