Skip to content

Commit

Permalink
Add further input preservation test within prop_createPlan.
Browse files Browse the repository at this point in the history
In response to review feedback:

#2618 (comment)
  • Loading branch information
jonathanknowles committed Apr 20, 2021
1 parent b2186bd commit 152d957
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,10 @@ prop_createPlan mockArgs =
[percentageSelected ignorables] $
counterexample counterexampleText $
conjoinMap
[ ( "inputs are not preserved"
[ ( "inputs are not preserved (union)"
, inputIdsAll == Set.union inputIdsSelected inputIdsNotSelected )
, ( "inputs are not preserved (intersection)"
, Set.empty == Set.intersection inputIdsSelected inputIdsNotSelected )
, ( "total fee is incorrect"
, totalFee result == totalFeeExpected )
, ( "more than one transaction has reward withdrawal"
Expand Down

0 comments on commit 152d957

Please sign in to comment.