plutus_ledger_api::generators::correct::v1

Function arb_value

Source
pub fn arb_value() -> impl Strategy<Value = Value>
Expand description

Strategy to generate a Value

This generator will try to balance the result, such that there’s a 50% chance that Ada is included in the Value