Conversation
|
Usecase example: https://github.com/Anastasia-Labs/aiken-linked-list/pull/6/files#diff-51e35fd3abb5d42a8369c9f66d32af9e2f278f41300d151945281397249a4835R227-R241 test mint_validator_insert(
(blake2b_224s, o_refs, now, penalty_address, contract_address) via fuzzer.tuple5(
blake2b_224_fuzzer(count: 3),
fuzz.set_between(output_reference_fuzzer(), 2, 2),
fuzz.int_at_least(1000),
address_fuzzer(
FromScript(Specified(mock_script_hash("P"))),
WithFuzzedDelegation,
),
address_fuzzer(
FromScript(Specified(mock_script_hash("I"))),
WithFuzzedDelegation,
),
),
) {
..
}Can also be combined with #22 |
|
Merged commits to main |
|
Hey @MicroProofs ,
|
|
|
|
It's for type-safety, for example: this works, but inside the test block you'll need to have If the With preventing accidental test failure during arrangement instead of assertion. |
Like,
..