public void RemoveZeroMoney() { var player = new HoldemBattle.Models.Player("name", "key", 0); Assert.AreEqual(0, player.Cash, "Expected player object to contain 0 cash."); player.RemoveCash(0); Assert.AreEqual(0, player.Cash, "Expected the player cash to have not decreased."); }
public void RemovePositiveMoney() { var player = new HoldemBattle.Models.Player("name", "key", 1); Assert.AreEqual(1, player.Cash, "Expected player object to contain 1 cash."); player.RemoveCash(1); Assert.AreEqual(0, player.Cash, "Expected the player cash to have decreased."); }