|
@ -17,6 +17,7 @@ public class ItemTest { |
|
|
item.setName("Unit"); |
|
|
item.setName("Unit"); |
|
|
item.setDamage("12,5"); |
|
|
item.setDamage("12,5"); |
|
|
item.changeDoesDamage(true); |
|
|
item.changeDoesDamage(true); |
|
|
|
|
|
item.setAmount(5); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
@ -35,4 +36,9 @@ public class ItemTest { |
|
|
assumeTrue(item.getDamage().equals("12,5")); |
|
|
assumeTrue(item.getDamage().equals("12,5")); |
|
|
assumeTrue(doesDamage); |
|
|
assumeTrue(doesDamage); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void testGetAmount() { |
|
|
|
|
|
assumeTrue(item.getAmount() == 5); |
|
|
|
|
|
} |
|
|
} |
|
|
} |