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
Right now we test the intrinsics by feeding them random input arguments. Given that we have full control of the Arbitrary implementation perhaps we can tweak the implementation to always generates special cases at the beginning. In other words, change the generated inputs from:
Today: e.g. i32 inputs: <rand>, <rand>, <rand>, ...
To: i32::MIN, 0, i32::MAX, <rand>, <rand>, ...
The text was updated successfully, but these errors were encountered:
japaric
changed the title
Investigate always testing special cases
Quickcheck: Investigate always testing special cases
Aug 19, 2016
Right now we test the intrinsics by feeding them random input arguments. Given that we have full control of the
Arbitrary
implementation perhaps we can tweak the implementation to always generates special cases at the beginning. In other words, change the generated inputs from:Today: e.g.
i32
inputs:<rand>, <rand>, <rand>, ...
To:
i32::MIN, 0, i32::MAX, <rand>, <rand>, ...
The text was updated successfully, but these errors were encountered: