Exemplo n.º 1
0
        public void PlayerIsInJail()
        {
            var player = new Player("Name");
            var action = new GoToJailAction();

            action.ProcessAction(player);

            Assert.IsTrue(player.IsInJail);
        }
Exemplo n.º 2
0
        public void PlayerLocationIsSetToJailLocation()
        {
            var player = new Player("Name");
            var action = new GoToJailAction();

            action.ProcessAction(player);

            Assert.AreEqual(LocationConstants.JailIndex, player.Location);
        }