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}"); }
public void NumberOfPlayers() { var players = PlayersTests.GetPlayers(); Assert.AreEqual(7, players.Count); }