Asserts the count for a given operation and case, and ensure the circuit is satisfied.
Asserts the count for a given operation and case, and ensure the circuit is NOT satisfied.
Asserts the output mode for a given operation and case.
To update the arguments to count_is!
, run cargo test with the UPDATE_COUNT
flag set to the name of the file containing the macro invocation.
e.g. `UPDATE_COUNT=boolean cargo test
See https://github.com/AleoNet/snarkVM/pull/1688 for more details.
To update the arguments to count_less_than!
, run cargo test with the UPDATE_COUNT
flag set to the name of the file containing the macro invocation.
e.g. `UPDATE_COUNT=boolean cargo test
See https://github.com/AleoNet/snarkVM/pull/1688 for more details.
The witness!
macro is a closure that takes in a list of circuits,
eject the value of each circuit, and uses it in the subsequent code block.
The witness_mode!
macro returns the expected mode given a list of circuits.