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

            go.Land(playerCar);

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