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
PropertyCheckConfigParamthat 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
PropertyCheckConfigconstructor and theforAllmethods of traitsPropertyChecksandCheckers. In other words, it is enforced at the point both a maximum and minimum size are provided together.use SizeRange instead
IllegalArgumentExceptionif specifiedvalueis less than zero.