Exemplo n.º 1
0
        public void PlayerRate(int playerNumber, int expectedRate)
        {
            var players = PlayersTests.GetPlayers();
            var player  = players.FirstOrDefault(p => p.Number == playerNumber);

            Assert.AreEqual(expectedRate, player.Rate, $"Got wrong rate for player {playerNumber}");
        }
Exemplo n.º 2
0
        public void NumberOfPlayers()
        {
            var players = PlayersTests.GetPlayers();

            Assert.AreEqual(7, players.Count);
        }