public void PlayerWithZeroBalanceLandsOnIncomeTax_BalanceIsLeftAtZero() { banker.Debit(player, 1500); var cashBeforeTurn = banker.GetPlayerBalance(player); board.AdvancePlayerOnBoard(player, 4); Assert.AreEqual(4, player.Location); Assert.AreEqual(0, cashBeforeTurn - banker.GetPlayerBalance(player)); }
private void SentencedPlayerPaysToGetOut(IPlayer player) { banker.Debit(player, 50); ReleasePlayerFromJail(player); }
public void DebitSubtractsMoneyFromPlayerAccount() { banker.Debit(player, 50); Assert.AreEqual(450, banker.GetPlayerBalance(player)); }