Skip to content

Commit 2210d99

Browse files
authored
Merge pull request #2616 from ProvableHQ/clarify_sampling
Clarify sampling in snarkVM
2 parents 9acf6f1 + b5d35bc commit 2210d99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

synthesizer/tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
This directory contains a set of utilities and integration tests for various components of `synthesizer` crate. The test framework is based loosely off ideas from [Characterization Testing](https://en.wikipedia.org/wiki/Characterization_test) (you have have heard these referred to as "golden tests"). At a high level, the framework runs a set of integration tests and compares their output to their corresponding expected output. If the output does not match, the framework returns an error.
44

5+
Don't expect a change in RNG state to necessarily lead to a change in outputs, because certain cryptographic objects like field elements may require a different amount of iterated sampling, offsetting initial changes in RNG state.
56

67
Some important files/folders are:
78
- `expectations` | The expectation files for each of the test categories.

0 commit comments

Comments
 (0)