(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestCharacterIndex_Remove(t *testing.T) { |
| 59 | ci := freshCharacterIndex() |
| 60 | ci.Add("Aldric", 10) |
| 61 | ci.Remove("Aldric") |
| 62 | |
| 63 | _, found := ci.Find("Aldric") |
| 64 | if found { |
| 65 | t.Fatal("expected name to be absent after Remove") |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func TestCharacterIndex_RemoveCaseInsensitive(t *testing.T) { |
| 70 | ci := freshCharacterIndex() |
nothing calls this directly
no test coverage detected