public void CountTest() { var pool = new SpecialCardPool(); Assert.AreEqual(0, pool.OfficeCount); Assert.AreEqual(0, pool.TradeAgreementCount); Assert.AreEqual(0, pool.DockerCount); Assert.AreEqual(0, pool.ShipCount); }
public void Setup() { var pool = new SpecialCardPool(); pool.Setup(new TokenPool()); Assert.AreEqual(14, pool.ShipCount); Assert.AreEqual(2 , pool.OfficeCount); Assert.AreEqual(2 , pool.TradeAgreementCount); Assert.AreEqual(2 , pool.DockerCount); }
public void Setup() { this._deck = new Deck(); this._tokenPool = new TokenPool(); this._specialCardPool = new SpecialCardPool(); this._specialCardPool.Setup(_tokenPool); this._communityCards = new CommunityCard(); _communityCards.AddFirst(_deck.Draw()); _communityCards.AddSecond(_deck.Draw()); _communityCards.AddThird(_deck.Draw()); _communityCards.AddFourth(_deck.Draw()); _communityCards.AddFifth(_deck.Draw()); _communityCards.AddSixth(_deck.Draw()); }