You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most users are going to use the default arb function, with an input size of 256; and in cases that is insufficent, will silently get low-quality test inputs because many/most Arbitrary impls allow short inputs, treating them as 0-padded up to the needed length (I think I recall this).
And picking the correct byte length to fully satisfy any particular Arbitrary impl, calling arb-sized is not really reasonable for most people.
The default method could more intellegently use the Arbitrary::size_hint method to pick an input size.
The text was updated successfully, but these errors were encountered:
Most users are going to use the default
arb
function, with an input size of 256; and in cases that is insufficent, will silently get low-quality test inputs because many/most Arbitrary impls allow short inputs, treating them as 0-padded up to the needed length (I think I recall this).And picking the correct byte length to fully satisfy any particular Arbitrary impl, calling
arb-sized
is not really reasonable for most people.The default method could more intellegently use the
Arbitrary::size_hint
method to pick an input size.The text was updated successfully, but these errors were encountered: