Пример #1
0
        public void CheckDrawSingleCard()
        {
            var cureDeck  = new CureDeckManager(locationManager);
            var location  = locationManager.GetLocations().First();
            var drawnCard = cureDeck.DrawCard();

            Assert.AreEqual <Location>(location, drawnCard);
        }
Пример #2
0
        public void CheckOverdrawDeck()
        {
            var cureDeck = new CureDeckManager(locationManager);

            cureDeck.DrawCard();
            var secondCard = cureDeck.DrawCard();

            Assert.AreEqual <Location>(null, secondCard);
        }