Example #1
0
        public void PlayerHoleCardsChangedCommand()
        {
            var c  = GameCommandMock.PlayerHoleCardsChangedCommand();
            var dc = GetDecodedCommand(c);

            Assert.AreEqual(c.NoSeat, dc.NoSeat);
            Assert.AreEqual(c.Cards.Length, dc.Cards.Length);
            Assert.IsFalse(c.Cards.Except(dc.Cards).Any());
            Assert.AreEqual(c.PlayerState, dc.PlayerState);
        }