diff --git a/src/test/java/org/bitbiome/entitiesTest/MobTest.java b/src/test/java/org/bitbiome/entitiesTest/MobTest.java index 9777dc3..00afaf8 100644 --- a/src/test/java/org/bitbiome/entitiesTest/MobTest.java +++ b/src/test/java/org/bitbiome/entitiesTest/MobTest.java @@ -14,6 +14,7 @@ public class MobTest { mob = new Mob(); mob.setFriendly(true); mob.setDamage(0F); + mob.setHp(561.45F); } @@ -27,4 +28,8 @@ public class MobTest { assertEquals(mob.getDamage(), 0F); } + @Test + public void testHp() { + assertEquals(mob.getHp(), 561.45F); + } }