mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Add an Arbitrary instance over Adjoined.
This commit is contained in:
parent
4e1d4706ee
commit
1268f07c8a
@ -1 +1,8 @@
|
|||||||
module Data.Adjoined.Spec where
|
module Data.Adjoined.Spec where
|
||||||
|
|
||||||
|
import Data.Adjoined
|
||||||
|
import Test.QuickCheck
|
||||||
|
|
||||||
|
|
||||||
|
instance Arbitrary a => Arbitrary (Adjoined a) where
|
||||||
|
arbitrary = fromList <$> arbitrary
|
||||||
|
Loading…
Reference in New Issue
Block a user