1
0
mirror of https://github.com/fumiama/emozi.git synced 2026-06-09 20:40:23 +08:00

feat(cmd): add Lookup

This commit is contained in:
源文雨
2024-02-15 21:12:14 +09:00
parent f2265b4916
commit 3116a2fa7e
8 changed files with 208 additions and 174 deletions

View File

@@ -8,7 +8,6 @@ func TestFirstEmojiSingle(t *testing.T) {
t.Fatal("声母", i, "长度", len([]rune(lst[0])), "字", lst[0])
}
}
t.Log(string([]rune("🌫️")[0]), string([]rune("❤️")[0]), string([]rune("✌️")[0]), string([]rune("⭕️")[0]), string([]rune("☁️")[0]), string([]rune("🕸️")[0]))
for i, lst := range 韵母 {
if len([]rune(lst[0])) != 1 {
t.Fatal("韵母", i, "长度", len([]rune(lst[0])), "字", lst[0])