Example #1
0
        public void PlayerLandsOnGo_Collects200Dollars()
        {
            var cashBeforeLandOnGo = banker.GetPlayerBalance(playerCar);

            go.Land(playerCar);

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