This additionally tests how many lives the player has
@ -15,7 +15,7 @@ public class PlayerTest {
player = new Player();
player.setName("UnitPlayer");
player.setHp(100F);
}
@Test
@ -23,4 +23,10 @@ public class PlayerTest {
assertEquals("UnitPlayer", player.getName());
public void testPlayerHp() {
assertEquals(100F, player.getHp());