Exemple #1
0
        public void Replaying_FastCards()
        {
            // Given: Earth has enough elements to trigger GOS
            User.SelectsGrowthA_Reclaim_PP2();
            spirit.Elements[Element.Sun]   = 1;
            spirit.Elements[Element.Earth] = 2;
            spirit.Elements[Element.Plant] = 2;

            //  And: Earth has 4 cards
            var cards = new PowerCard[] {
                MakePowerCard(Slow0),                   // not played
                MakePowerCard(Fast0),                   // not played
                MakePowerCard(Fast1),                   // played - should appear
                MakePowerCard(Fast2)                    // played - no - too expensive
            };

            spirit.tempCardPlayBoost = cards.Length;
            spirit.Hand.AddRange(cards);
            PlayCards(cards);
            User.IsDoneBuyingCards();

            //  And: already played 2 fast cards (cost 1 & 2)
            User.SelectsFastAction("Fast-0,(Fast-1),Fast-2,Gift of Strength");
            User.SelectsFastAction("Fast-0,(Fast-2),Gift of Strength");

            User_PlaysGiftOfStrengthOnSelf();

            // Then: user can replay ONLY the played: Fast-1 card.
            User.SelectsFastAction("Fast-0,(Replay Card [max cost:1])");
            User.AssertDecision("Select card to replay", "Fast-1 $1 (Fast)", "Fast-1 $1 (Fast)");               // !!! should there be a ,Done here?
        }
        public void ReclaimAndPresence()
        {
            // (A) reclaim, +1 presense range 2
            Given_HalfOfPowercardsPlayed();
            Given_HasPresence(board[3]);

            When_StartingGrowth();

            User.SelectsGrowthA_Reclaim_PP2();

            this.Assert_AllCardsAvailableToPlay();
        }