public void testXPAddsToLVUp() { Player player = new Player(); player.addXP(500); Assert.AreEqual(500, player.getXP()); Assert.AreEqual(2, player.getLV()); }
public void testXPCanCauseDoubleLVUp() { Player player = new Player(); player.addXP(1000); Assert.AreEqual(1000, player.getXP()); Assert.AreEqual(3, player.getLV()); }
public void testXPAddsTogether() { Player player = new Player(); player.addXP(100); player.addXP(100); Assert.AreEqual(200, player.getXP()); Assert.AreEqual(1, player.getLV()); }