public void AddMinus10Points() { IPlayerService playerService = new PlayerService(); playerService.AddPoint(-10); Assert.AreEqual(-10, playerService.GetPoints()); }
public void Add10Points() { var playerService = new PlayerService(); playerService.AddPoint(10); Assert.AreEqual(10, playerService.GetPoints()); }
public void AddPointTest() { PlayerService target = new PlayerService(); // TODO: Initialize to an appropriate value int points = 0; // TODO: Initialize to an appropriate value target.AddPoint(points); Assert.Inconclusive("A method that does not return a value cannot be verified."); }