diff --git a/src/test/java/org/bitbiome/entitiesTest/PlayerTest.java b/src/test/java/org/bitbiome/entitiesTest/PlayerTest.java index 4f9d885..df03dfd 100644 --- a/src/test/java/org/bitbiome/entitiesTest/PlayerTest.java +++ b/src/test/java/org/bitbiome/entitiesTest/PlayerTest.java @@ -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()); } + + @Test + public void testPlayerHp() { + assertEquals(100F, player.getHp()); + } + }