concordium-base
concordium-base copied to clipboard
Use `quickCheck` tests for the the fromJSON/toJSON of the Payload
It would be better to use quickCheck
for the payload JSON encoding/decoding tests to cover more variations of possible payloads.
https://github.com/Concordium/concordium-base/blob/377398d920e8b09f4105287de52f69f013af1c00/haskell-tests/Types/PayloadSpec.hs
https://github.com/Concordium/concordium-base/pull/529#pullrequestreview-2073361880