IntegerGenerator generator¶
Generate integer values within a configurable range, granularity, and distribution.
Why: Use IntegerGenerator for bounded counts, scores, and ordinal fixtures with optional granularity and distribution; use IncrementGenerator when values must follow row order.
Category: core.
Output: int.
1 | |
Parameters¶
min:int | null; DefaultNoneโ Inclusive lower bound of generated integers.max:int | null; DefaultNoneโ Inclusive upper bound of generated integers.granularity:int | null; DefaultNoneโ Positive step defining the permitted integer grid.distribution:str | null; DefaultNoneโ Statistical distribution used across the bounded grid.