Exemple #1
0
        public void test_diceRollingToString()
        {
            Player thePlayer = new Player("Jim");

            Property theProp = new Property("Gardend");
            theProp.setOwner(ref thePlayer);
            Board.access().addProperty(theProp);

            //check first roll
            for (int diceroll = 0; diceroll < 5; diceroll++)
                StringAssert.Contains("Rolling Dice", thePlayer.diceRollingToString());
            //second roll should not allow

            // Rolled double out of jail
        }