Debian Codegraph @

testdata/test_cases.txt

raw
1 # Comprehensive Test Cases for String Width Comparison
2 # This file contains various character types to test both our implementation and go-runewidth
3
4 # Basic ASCII
5 hello
6 Hello World
7 1234567890
8 !@#$%^&*()
9
10 # Latin Characters
11 café
12 naïve
13 résumé
14 Zürich
15 São Paulo
16
17 # East Asian Characters
18 Chinese: 中文
19 Japanese: こんにちは
20 Korean: 안녕하세요
21 Mixed: Hello 世界
22
23 # Fullwidth Characters
24 Fullwidth A: A
25 Fullwidth 1: 1
26 Fullwidth !: !
27
28 # Ambiguous Characters
29 ★ ☆ ♠ ♣ ♥ ♦
30 ° ± × ÷
31 ← → ↑ ↓
32 « » ‹ ›
33
34 # Emoji
35 😀 😁 😂 🤣 😃 😄 😅 😆 😉 😊
36 🚀 🎉 🎊 🎈 🎁 🎂 🎃 🎄 🎆 🎇
37 👨‍👩‍👧‍👦 👨‍💻 👩‍🔬 👨‍🎨 👩‍🚀
38 🇺🇸 🇬🇧 🇫🇷 🇩🇪 🇯🇵 🇰🇷 🇨🇳
39
40 # Combining Marks
41 e + combining acute: é
42 a + combining grave: à
43 o + combining tilde: õ
44 n + combining tilde: ñ
45
46 # Special Symbols
47 Currency: $ € £ ¥ ₹ ₽
48 Math: ∑ ∏ ∫ ∞ ≤ ≥ ≠ ≈
49 Arrows: ← → ↑ ↓ ↔ ↕ ⇐ ⇒ ⇑ ⇓
50 Punctuation: … — – " " ' '
51
52 # Mixed Complex Cases
53 Hello 世界! 😀
54 Price: $100.00 €85.50
55 Math: ∑(x²) = ∞
56 Emoji sequence: 👨‍💻 working on 🚀
57 Mixed script: Hello 世界 안녕하세요 こんにちは
58
59 # Long strings for performance testing
60 This is a very long string with many characters to test performance of both implementations. It contains various character types including ASCII, Unicode, emoji, and special symbols. The purpose is to see how both packages handle longer strings and whether there are any performance differences or edge cases that emerge with more complex input.
61
62 # Stress test with many emoji
63 😀😁😂🤣😃😄😅😆😉😊😋😎😍😘🥰😗😙😚☺️🙂🤗🤩🤔🤨😐😑😶🙄😏😣😥😮🤐😯😪😫🥱😴😌😛😜😝🤤😒😓😔😕🙃🤑😲☹️🙁😖😞😟😤😢😭😦😧😨😩🤯😬😰😱🥵🥶😳🤪😵😡😠🤬😷🤒🤕🤢🤮🤧😇🤠🤡🥳🥴🥺🤥🤫🤭🧐🤓😈👿💀☠️👹👺🤖👽👾💩😺😸😹😻😼😽🙀😿😾