Class InventoryTest
java.lang.Object
InventoryTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
InventoryTest
public InventoryTest()
-
-
Method Details
-
testNegativeWeightConstruction
@Test public void testNegativeWeightConstruction() -
testValidInventoryConstruction
@BeforeEach @Test public void testValidInventoryConstruction() -
testGetNonStoredItem
@Test public void testGetNonStoredItem() -
testGetAndAddItem
@Test public void testGetAndAddItem() -
testGetNonStoredItemByName
@Test public void testGetNonStoredItemByName() -
testGetItemByName
@Test public void testGetItemByName() -
testGetItems
@Test public void testGetItems() -
testCanAdd
@Test public void testCanAdd() -
testRemoveNonStoredItem
@Test public void testRemoveNonStoredItem() -
testHasItem
@Test public void testHasItem() -
testGetWeightOfAllItems
@Test public void testGetWeightOfAllItems() -
testGetMaxWeight
@Test public void testGetMaxWeight() -
testExchange
@Test public void testExchange() -
testIsEmpty
@Test public void testIsEmpty()
-