diff options
author | defanor <defanor@uberspace.net> | 2017-12-16 18:19:20 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-12-16 18:19:20 +0300 |
commit | 6c55be7a476d04db91881bc8870d2a1e838ea521 (patch) | |
tree | 61925ec0eb007705565192399a92a6a2be19aa7a /test | |
parent | b401482567a32a0c47f3f9d398268b70b0b0836f (diff) |
Add more instances
Diffstat (limited to 'test')
-rw-r--r-- | test/Test.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Test.hs b/test/Test.hs index 4d965c9..c1559fe 100644 --- a/test/Test.hs +++ b/test/Test.hs @@ -8,6 +8,7 @@ import Data.Proxy import Test.Tasty.Travis import Data.Word import Data.Int +import Data.Complex import Coalpit @@ -31,7 +32,7 @@ instance Arbitrary Record where arbitrary = genericArbitraryU data Sum = Foo Int Bool | Bar - | Baz (Int8, (Float, Word16), Rational) + | Baz (Int8, (Complex Float, Word16), Rational) deriving (Generic, Eq, Show, Coalpit) instance Arbitrary Sum where arbitrary = genericArbitraryU |