|
@ -13,6 +13,7 @@ public class MobTest { |
|
|
public static void setMob() { |
|
|
public static void setMob() { |
|
|
mob = new Mob(); |
|
|
mob = new Mob(); |
|
|
mob.setFriendly(true); |
|
|
mob.setFriendly(true); |
|
|
|
|
|
mob.setDamage(0F); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -21,4 +22,9 @@ public class MobTest { |
|
|
assertEquals(mob.isFriendly(), true); |
|
|
assertEquals(mob.isFriendly(), true); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void testDamage() { |
|
|
|
|
|
assertEquals(mob.getDamage(), 0F); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |