InventoryLogicTest

5

tests

0

failures

0

ignored

0.034s

duration

100%

successful

Tests

Test Duration Result
testInventoryActuallyStoresItems() 0.005s passed
testInventoryBasicOperations() 0.021s passed
testInventoryFullBehaviour() 0.003s passed
testItemTypeConstants() 0.002s passed
testUseItemRemovesFromInventory() 0.003s passed

Standard output

Testing Inventory Logic:
1. Inventory stores items in slots
2. Items can be added to empty slots
3. Items can be used/removed from slots
4. Full inventory rejects new items
5. Invalid slot access returns EMPTY
Testing: Ful inventory rejects items
Testing Inventory stores items
Testing: using an item removes it from inventory