コード例 #1
0
        public void PlayerDiscardActionCommand()
        {
            var c  = GameCommandMock.PlayerDiscardActionCommand();
            var dc = GetDecodedCommand(c);

            Assert.AreEqual(c.CardsDiscarded.Length, dc.CardsDiscarded.Length);
            Assert.IsFalse(c.CardsDiscarded.Except(dc.CardsDiscarded).Any());
        }