补充缺少的测试

This commit is contained in:
huangsimin 2019-08-20 11:13:26 +08:00
parent e63bfa5193
commit ddef34cf20

View File

@ -68,6 +68,9 @@ func TestTried_String(t *testing.T) {
triedList = append(triedList, NewWithWordType(WordIndexUpper))
wordsList = append(wordsList, []string{"ADFSZ", "DEFASEWRQWER", "GFHJERQWREWTNBVFGFH"})
triedList = append(triedList, NewWithWordType(WordIndexDigital))
wordsList = append(wordsList, []string{"093875239457", "09123406534", "0912340846"})
triedList = append(triedList, NewWithWordType(WordIndexUpperLower))
wordsList = append(wordsList, []string{"adazxAZDSAFASZRETHGFTUIPK", "assdfhgDSFGnvb", "yaXZLMPOIQsdGHFfmFBzvxz"})