-
Notifications
You must be signed in to change notification settings - Fork 107
Add property-based fuzz tests for split math invariants #247
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:remittance-splitRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelfuzzingRemitWise contracts labelRemitWise contracts labelpriority:highRemitWise contracts labelRemitWise contracts labelqualityRemitWise contracts labelRemitWise contracts labeltype:testRemitWise contracts labelRemitWise contracts label
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:remittance-splitRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelfuzzingRemitWise contracts labelRemitWise contracts labelpriority:highRemitWise contracts labelRemitWise contracts labelqualityRemitWise contracts labelRemitWise contracts labeltype:testRemitWise contracts labelRemitWise contracts label
Description
Build property-based tests to prove split calculations preserve total amount and remain bounded across randomized inputs.
Requirements and context
Suggested execution
git checkout -b test/remit-split-property-fuzzingremittance_split/src/lib.rsremittance_split/tests/fuzz_tests.rsremittance_split/README.mdTest and commit
cargo test -p remittance_splitExample commit message
test: add property-based fuzz tests for split invariantsGuidelines