public void NewEquipmentIsNotFull() { var f = new Hybrasyl.Equipment(Hybrasyl.Equipment.DefaultSize); Assert.False(f.IsFull, "new equipment should not be full"); }
public void NewEquipmentWeightIsZero() { var f = new Hybrasyl.Equipment(Hybrasyl.Equipment.DefaultSize); Assert.Equal(0, f.Weight); }
public void NewEquipmentEmptySlotsEqualsSize() { var f = new Hybrasyl.Equipment(Hybrasyl.Equipment.DefaultSize); Assert.Equal(Hybrasyl.Equipment.DefaultSize, f.EmptySlots); }
public void NewEquipmentFirstEmptySlotIsOne() { var f = new Hybrasyl.Equipment(Hybrasyl.Equipment.DefaultSize); Assert.Equal(1, f.FindEmptySlot()); }
public void NewEquipmentSizeIsCorrect() { var f = new Hybrasyl.Equipment(Hybrasyl.Equipment.DefaultSize); Assert.Equal(Hybrasyl.Equipment.DefaultSize, f.Size); }