Esempio n. 1
0
        public void BePickedByPlayers()
        {
            var players = new TwoPlayers();
            var hands = new Hands();
            hands.HandOne.Add(Jack.Of(CardSuit.Spades));
            hands.HandTwo.Add(King.Of(CardSuit.Hearts));

            hands.To(players.PlayerOne, players.PlayerTwo);

            Assert.AreEqual(1, players.PlayerOne.Hand().Count);
            Assert.AreEqual(1, players.PlayerTwo.Hand().Count);
        }