public void DeterminesMoveForThree() { var game = new Game("Opponent", 100, 300); game.Card(new Card("3")); Assert.AreEqual("CALL", game.Move()); }
public void DeterminesMoveForAce() { var game = new Game("Opponent", 100, 300); game.Card(new Card("A")); Assert.AreEqual("BET:1000", game.Move()); }
public void CanInitialise() { var game = new Game("Opponent", 100, 300); Assert.AreEqual("Opponent", game.Opponent); Assert.AreEqual(100, game.Chips); Assert.AreEqual(300, game.HandLimit); }
public void Start(string opponent_name, int starting_chip_count, int hand_limit) { Log.Info(""); Log.Info(""); Log.InfoFormat("Start: opponent_name = {0}, starting_chip_count = {1}, hand_limit = {2}", opponent_name, starting_chip_count, hand_limit); game = new Game(opponent_name, starting_chip_count, hand_limit); }
public void RecieveCard() { var game = new Game("Opponent", 100, 300); Assert.AreEqual(Card.Ace, game.Card(new Card("A"))); }
public void ReceiveButton() { var game = new Game("Opponent", 100, 300); Assert.That(game.ReceiveButton(), Is.True); }
public void ReceiveBlind() { var game = new Game("Opponent", 100, 300); Assert.That(game.PostBlind(), Is.True); }