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
Currently, bolero generators require a Driver to generate a value. This requires some set up and implementing quite a few trait methods. For kani proofs, generating arbitrary values can potentially happen in any location. Ideally, we would include a method on the ValueGenerator trait that would allow kani proofs to leverage bolero generators.
#[derive(Debug,TypeGenerator)]structMyStruct{#[generator(0..4)]my_field:u64}#[kani::proof]fnmy_proof(){let v = gen::<MyStruct>().any();assert!((0..4).contains(&v.my_field));}
The text was updated successfully, but these errors were encountered:
Currently, bolero generators require a Driver to generate a value. This requires some set up and implementing quite a few trait methods. For kani proofs, generating arbitrary values can potentially happen in any location. Ideally, we would include a method on the
ValueGenerator
trait that would allow kani proofs to leverage bolero generators.The text was updated successfully, but these errors were encountered: