Closed vrom911 closed 6 years ago
I'm sorry I don't understand why do we need to make tests on instances?
@vrom911 As I see now, the only non-trivial instance we have is ToJSON/FromJSON
instance. It's very simple but still non-trival. So I think tests if needed then needed only for this. Typical roundtrip tests like fromJSON . toJSON ≡ id
. Though, this instance uses show
and read
and nothing more and we already have read . show ≡ id
tests so may there's no much sense in having tests for JSON
while we have simple instances.
Resolves #100