A PropertyCheckConfigParam that specifies the maximum size parameter to
provide to ScalaCheck, which it will use when generating objects for which size matters (such as
strings or lists).
Note that the maximum size should be greater than or equal to the minimum size. This requirement is
enforced by the PropertyCheckConfig constructor and the forAll methods of
traits PropertyChecks and Checkers. In other words, it is enforced at the point
both a maximum and minimum size are provided together.
A
PropertyCheckConfigParam
that specifies the maximum size parameter to provide to ScalaCheck, which it will use when generating objects for which size matters (such as strings or lists).Note that the maximum size should be greater than or equal to the minimum size. This requirement is enforced by the
PropertyCheckConfig
constructor and theforAll
methods of traitsPropertyChecks
andCheckers
. In other words, it is enforced at the point both a maximum and minimum size are provided together.use SizeRange instead
IllegalArgumentException
if specifiedvalue
is less than zero.