public void CanPickUpAItem() { var weakBlade = new LongSword(); var it = new List<IItems>(); it.Add(weakBlade); Assert.That(it.Any(x => string.Equals("Longsword", x.Name))); }
public void DropAItem() { var weakBlade = new LongSword(); var it = new List<IItems>(); it.Remove(weakBlade); Assert.That(!it.Any(x => string.Equals("Longsword", x.Name))); }