rickynils/scalacheck — Issue #18: Shrinking for choose and chooseNum considers invalid values
Author: sol
Created: 2011-11-05 12:21:22+00:00
State: open

For a property like

property("chooseNum") = forAll(chooseNum(0, 10))(n => 0 <= n && n < 10)

Shrinking will settle on `-1` instead of `10`, and it even considers several out-of-range values during shrinking. From my gut feeling I'd think this is a bug.