Пример #1
0
        public void SetRoundSubRoundAndPlayerToMove_Round3PlaceArmiesPlayer1_AreEqual()
        {
            var state = new MapState(1);

            state.SetRoundSubRoundAndPlayerToMove(3, SubRoundType.PlaceArmies, PlayerType.player1);

            Assert.AreEqual(3, state.Round);
            Assert.AreEqual(SubRoundType.PlaceArmies, state.SubRound);
            Assert.AreEqual(PlayerType.player1, state.PlayerToMove);
        }
Пример #2
0
        public void SetRoundSubRoundAndPlayerToMove_Round2AttackTransferPlayer2_AreEqual()
        {
            var state = new MapState(1);

            state.SetRoundSubRoundAndPlayerToMove(2, SubRoundType.AttackTransfer, PlayerType.player2);

            Assert.AreEqual(2, state.Round);
            Assert.AreEqual(SubRoundType.AttackTransfer, state.SubRound);
            Assert.AreEqual(PlayerType.player2, state.PlayerToMove);
        }