Log inGet started
World

Arts TD

Branchmain
Branchesmain
Commite0f7951ccb

README.md

pickerKitTests

Checks pickerKit's public interface: the catalogue (six layouts, seven themes, five preview styles, version); every preview style (portrait, stats, banner, showcase) in every layout inside the screen at every size, the panel showing on desktop and phone and not with none, a custom preview function and the preview hook; remembering (saved by default and restored with the CURRENT mark on reopen, reopen keeping options and showing locked choices locked, remember = false, a custom store and forget), the UI layer (990 by default, layer option); every layout in every theme drawn at desktop (1280x720), tablet (1024x768), phone portrait (390x844) and phone landscape (844x390) with every top-level piece inside the screen; locked choices refused with their reason and a shake; pick then confirm firing onPick and onConfirm exactly once; back un-readying and cancelling only with allowCancel; setChoices keeping the focus; row/grid navigation and the wheel's stick mapping; and multiplayer through pretend remote seats (seats._fake): reading other players' picks by user id and peer id, onPicked, exclusive refusals and clash resolution, shared host and vote picks. Run in edit mode: tools.use("tests", "run", { suite = "pickerKitTests", onWorker = true }).