Exemplo n.º 1
0
        public void PlayerLandsOnGo_Collects200Dollars()
        {
            var cashBeforeLandOnGo = banker.GetPlayerBalance(playerCar);

            go.Land(playerCar);

            Assert.AreEqual(200, banker.GetPlayerBalance(playerCar) - cashBeforeLandOnGo);
        }
Exemplo n.º 2
0
 public void LandOnSpaceUpdatesPlayerLocation()
 {
     space.Land(player);
     Assert.AreEqual(5, player.Location);
 }