Exemplo n.º 1
0
        public void PlayerPickWarAttackTwiceTest()
        {
            WarPlayer[] players = new WarPlayer[] {
                new WarPlayer()
                {
                    Name = "Player 1"
                }
            };

            players[0].Cards.Add(Card.TwoOfDiamonds);
            players[0].Cards.Add(Card.ThreeOfDiamonds);
            players[0].Cards.Add(Card.FourOfDiamonds);

            WarGame target = new WarGame(players);

            target.PlayerDeclareWar(players[0]);
            target.PlayerPickWarAttack(players[0], 1);
            target.PlayerPickWarAttack(players[0], 1);

            Assert.Fail();
        }