(t *testing.T)
| 256 | } |
| 257 | |
| 258 | func TestAllSlots(t *testing.T) { |
| 259 | expected := []items.ItemType{ |
| 260 | items.Weapon, items.Offhand, items.Head, items.Neck, items.Body, |
| 261 | items.Belt, items.Gloves, items.Ring, items.Legs, items.Feet, |
| 262 | } |
| 263 | assert.Equal(t, expected, AllSlots()) |
| 264 | } |
| 265 | |
| 266 | func TestWeaponSlots(t *testing.T) { |
| 267 | expected := []items.ItemType{items.Weapon, items.Offhand} |
nothing calls this directly
no test coverage detected