demo/doc / (root)
(root)The fixture package's root module. It depends on shelf and documents one item of its own.
stack_of | |
total_width | The whole shelf's width, given a slot count. |
stack_offnpubfn stack_of(n: int) -> int
total_widthfnpubfn total_width(slots: int) -> int
The whole shelf's width, given a slot count. Undocumented items exist in this fixture too — stack_of below is one, deliberately, so the coverage report has something to name.
use shelf
shelf.slot_of(1) == 2