use std::ops::RangeInclusive; /// Holds the range of acceptable values to use during the generation of testcases pub struct Config { pub test_case_inputs: RangeInclusive, pub signature_params: RangeInclusive, pub signature_rets: RangeInclusive, pub instructions_per_block: RangeInclusive, /// Number of variables that we allocate per function /// This value does not include the signature params pub vars_per_function: RangeInclusive, } impl Default for Config { fn default() -> Self { Config { test_case_inputs: 1..=10, signature_params: 0..=16, signature_rets: 0..=16, instructions_per_block: 0..=64, vars_per_function: 0..=16, } } }