示例#1
0
        public void should_report_correct_slots()
        {
            var slotManager = new SlotManager("X0X0X0000X0X");

            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Head), "no head");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Shoulder), "no shoulder");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Chest), "no chest");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Waist), "no waist");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Legs), "no legs");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Feet), "no feet");
            Assert.IsTrue(slotManager.ContainsSlot(SlotType.Hands), "no hands");
            Assert.IsFalse(slotManager.ContainsSlot(SlotType.Wrist), "yes wrist?");
        }