This additionally tests how much damage the mob does
@ -13,6 +13,7 @@ public class MobTest {
public static void setMob() {
mob = new Mob();
mob.setFriendly(true);
mob.setDamage(0F);
}
@ -20,5 +21,10 @@ public class MobTest {
public void testFriendly() {
assertEquals(mob.isFriendly(), true);
@Test
public void testDamage() {
assertEquals(mob.getDamage(), 0F);