Test.Text.Roundtrip
textRoundtrip :: forall a. ( Arbitrary a, Eq a, Show a, ToText a, FromText a, Typeable a) => Proxy a -> Spec Source #
Constructs a test to check that roundtrip textual encoding and decoding is possible for values of the given type.