public void LandUpdatesPlayerLocation() { var expectedLocation = 0; player.Location = 35; go.Land(player); Assert.AreEqual(expectedLocation, player.Location); }
public void PlayerLandsOnGoTwiceResultsIn400ExtraDollars() { var cashBeforeGo = banker.GetPlayerBalance(playerCar); var go = new Go(0, banker, "Go"); go.Land(playerCar); go.Land(playerCar); Assert.AreEqual(400, banker.GetPlayerBalance(playerCar) - cashBeforeGo); }