public void ShouldEquipEquipmentIfCharacterDoesNotHaveEnoughFreeSlots()
 {
     var c = new Player();
     var e = new TestHelpers.TestWeapon();
     e.AddSlotType(new Hand());
     e.AddSlotType(new Hand());
     e.AddSlotType(new Hand());
     Assert.IsFalse(EquipmentHelper.CanEquipEquipment(c, e));
 }
 public void ShouldUpdatesCharacterEquipmentSlotsToUsed()
 {
     var c = new Player();
     var e = new TestHelpers.TestWeapon();
     e.AddSlotType(new Hand());
     EquipmentHelper.EquipEquipment(c, e);
     Assert.IsTrue(c.Slots.Exists(x => !x.SlotFree && x.SlotEquipmentName == e.Name));
 }
 public void ShouldThrowExceptionWhenCharacterDoesNotHaveEnoughFreeSlots()
 {
     var c = new Player();
     var e = new TestHelpers.TestWeapon();
     e.AddSlotType(new Hand());
     e.AddSlotType(new Hand());
     e.AddSlotType(new Hand());
     EquipmentHelper.EquipEquipment(c, e);
 }