Lines Matching full:dictionary
25 t.Errorf("new dictionary should not have words populated")
28 t.Errorf("new dictionary should not have indices populated")
31 // Add a word to the dictionary
35 t.Errorf("dictionary has %d words, expected 1", got)
38 t.Errorf("dictionary has %d indices, expected 1", got)
41 t.Errorf("dictionary index: got %d, want 1", got)
44 t.Errorf("dictionary word: got %q, want %q", got, "hello")
47 // Adding the same word to the dictionary doesn't change the dictionary
51 t.Errorf("dictionary has %d words, expected 1", got)
54 t.Errorf("dictionary has %d indices, expected 1", got)
57 t.Errorf("dictionary index: got %d, want 1", got)
60 t.Errorf("dictionary word: got %q, want %q", got, "hello")
65 t.Errorf("dictionary word: got %q, want %q", got, unknownWord)
70 t.Errorf("dictionary word: got %d, want %d", got, unknownIndex)