Log inGet started
Package

inventoryKitTests.testSuite

README.md

inventoryKitTests

The inventoryKit suite. It checks that the rules refuse impossible moves (a helmet into a hand, an overfull stack, an empty slot, an unknown address, an item you do not have) and change nothing; that stacks fill, split and merge; that the form an inventory is sent between engines in keeps slots that follow an empty one; that equipping uses the item's own slot and the save form brings an inventory back unchanged; that 1000 rolls of the mystery box land within 5 points of every weight; that the catalogue lists 6 screens, 2 looks, 10 rarity frames, the 5 sample tables and the 30 starter items with both icons and a model; that every screen style builds in all three looks on desktop and phone sizes; that the kit finds its own copy among every copy of inventoryKit in the world and says whether the world holds one bag; and that both guides ship inside the package, link each other and are named in the package README. Fourteen tests in all: the fourteenth checks that every screen style builds its slots without a drag on a touch screen and with drag and drop on a desktop; the twelfth checks the controls setting switches off and back on and keeps the world's own choice, the thirteenth that buttons in the top corner push an open panel down rather than narrowing it.

It runs in edit mode, needs no player, and has no waits. Multiplayer, drag and drop and saving through saveKit are left to play tests.

Run it: tools.use("tests", "run", { suite = "inventoryKitTests" }).