public void TestRoundIncrements()
        {
            // Arrange
            CreatePropperties();
            // Round 1
            Game.Call();
            Game.Check();
            // Round 2
            Game.Check();
            Game.Check();
            // Round 3
            Game.Check();
            Game.Check();
            // Round 4
            Game.Check();
            Game.Check();
            // Round 5
            Game.Check();
            Game.Check();

            var expected = 5;

            // Act
            var actual = Game.Hands[Game.CurrentHandNumber() - 1].CurrentRoundNumber();

            // Assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
 private void ButtonCall_Click(object sender, EventArgs e)
 {
     _game.Call();
     MainUpdate();
 }