|
@ -18,6 +18,7 @@ public class ItemTest { |
|
|
item.setDamage("12,5"); |
|
|
item.setDamage("12,5"); |
|
|
item.changeDoesDamage(true); |
|
|
item.changeDoesDamage(true); |
|
|
item.setAmount(5); |
|
|
item.setAmount(5); |
|
|
|
|
|
item.setGold(100); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
@ -41,4 +42,9 @@ public class ItemTest { |
|
|
public void testGetAmount() { |
|
|
public void testGetAmount() { |
|
|
assumeTrue(item.getAmount() == 5); |
|
|
assumeTrue(item.getAmount() == 5); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void testGetGold() { |
|
|
|
|
|
assumeTrue(item.getGold() == 100); |
|
|
|
|
|
} |
|
|
} |
|
|
} |