Exemplo n.º 1
0
        public void Test_SetBlinds_IncorrectBlindsSeats_ThorwsException(int bigBlind, int smallBlind)
        {
            Table table = new Table(8, 0);

            var exception = Assert.Throws <Exception>(() => table.SetBlinds(bigBlind, smallBlind));

            Assert.AreEqual(exception.Message, "Sorry small blind cannot be greater than big blind!");
        }