mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-23 06:10:49 +01:00
Add new test case to spelling_test.go
A new test case named "Pronounce_Mixed" has been added to the file spelling_test.go. This new case helps validate the behavior of the function when dealing with mixed syllables. More specifically, it deals with a situation where a number and a pronounceable syllable are combined, enhancing the overall robustness of the spelling tests.
This commit is contained in:
parent
c697a8ef8e
commit
183754e869
1 changed files with 6 additions and 0 deletions
|
@ -140,6 +140,12 @@ func TestPronounce(t *testing.T) {
|
|||
want: "mu-sa",
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "Pronounce_Mixed",
|
||||
syllables: []string{"mu", "1"},
|
||||
want: "mu-ONE",
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "Pronounce_NonKoremutakeSyllable",
|
||||
syllables: []string{"ä"},
|
||||
|
|
Loading…
Reference in a new issue