Пример #1
0
        public void TestPlayerAndBotContentInFilledSlots()
        {
            FilledSlots sut = new FilledSlots(new FakeEmptyContentHistory());

            Assert.IsTrue(sut.SlotContentIsInCategory(SlotContent.Player));
            Assert.IsTrue(sut.SlotContentIsInCategory(SlotContent.Bot));
            Assert.IsFalse(sut.SlotContentIsInCategory(SlotContent.Empty));
        }
Пример #2
0
 public SlotManager(ISlotContentHistory history)
 {
     Bots    = new BotSlots(history);
     All     = new AllSlots(history);
     Filled  = new FilledSlots(history);
     Empty   = new EmptySlots(history);
     Players = new PlayerSlots(history);
 }