/** Test of getType method, of class ItemCard. */ @Test public void testGetType() { ItemCard instance = new ItemCard(ItemType.ATTACK, null); ItemType expResult = ItemType.ATTACK; ItemType result = instance.getType(); assertEquals(expResult, result); }
/** Test of isUsable method, of class ItemCard. */ @Test public void testIsUsable() { ItemCard instance; instance = new ItemCard(ItemType.DEFENSE, null); boolean expResult; expResult = false; boolean result; result = instance.isUsable(); assertEquals(expResult, result); }