Julian Ganz
Julian Ganz
Fixes #305.
Maybe it makes sense to introduce shrinking tests which assert that the shrinkers included in this crate yield at most $number values?
Having `BorrowMut + Default` types (or maybe some proxy/wrapper) implement `Arbitrary` is certainly possible. But how would you implement `Arbitrary` for `& mut [T: Arbitrary]` based on `fill_bytes` in the...
> Maybe I am misreading the documentation of libgit2 (having never worked with it directly), but as far as I can understand the objects can exist on their own, as...
Also reproduces with `i32::MIN` but not with e.g. `i32::MIN + 1`. Reproducer: ```rust use quickcheck::Arbitrary; i32::MIN.shrink().for_each(|v| println!("{}", v)); ``` Looking at the `SignedShrinker`, it's quite obvious that the shrinker is...
Can you verify that #296 solves your problem?
Can you be more specific about what types you use? `i32`? `u32`? Also, I this may warrant a new issue, though it definitely looks related.
Looks like I failed to fix the issue properly. The shrinker _is_ bounded but it does yield the original value, which results in an endless recursion as quickcheck executes the...
I just applied some additional band-aids. Could you check whether you can reproduce the issue with 0c279d6f15d262b471d94ac70ad4e4d1ac5b6fad (part of #296)?
I have trouble reproducing the issue (both on master and with #296). Does this happen with some specific initial values of `x`?