[input-output-hk/cardano-sl] [CDEC-348] Add Hedgehog generators for data types in core (#3081)

intricate commented on this pull request.

> +—————————————————————————-
+– Pos.Core.Ssc Generators
+—————————————————————————-
+
+genGenesisAvvmBalances :: Gen GenesisAvvmBalances
+genGenesisAvvmBalances = GenesisAvvmBalances customHashMapGen genRedeemPublicKey genCoin
+
+data CommitmentOpening = CommitmentOpening
+ { unCommitment :: !Commitment
+ , unOpening :: !Opening
+ }
+
+genCommitment :: Gen Commitment
+genCommitment = unCommitment genCommitmentOpening
+
+genCommitmentOpening :: Gen CommitmentOpening

No, as this was only intended for use by this module and not to be exposed (`CommitmentOpening` was only written to be a sort of “helper data type” for me).

This post was last modified on June 13, 2018, 7:51 pm