public void GetPoints_WithValidNumberOfPoints_ReturnsPointTotal(int numberOfPoints, int expected) { Player player = new Player(); for (int i = 0; i < numberOfPoints; i++) { player.ScorePoint(); } Assert.AreEqual(expected, player.GetPoints()); }
public void GetPoints_WithNewPlayer_Returns0() { Player player = new Player(); Assert.AreEqual(0, player.GetPoints()); }