Skip to content
Snippets Groups Projects
Commit cf1d5225 authored by Lennart Kolmodin's avatar Lennart Kolmodin
Browse files

Add arbitrary for Action in Arbitrary instance.

parent 6aafbcfd
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ data Action ...@@ -38,6 +38,7 @@ data Action
deriving (Show, Eq) deriving (Show, Eq)
instance Arbitrary Action where instance Arbitrary Action where
arbitrary = fmap Actions (gen_actions False)
shrink action = shrink action =
case action of case action of
Actions [a] -> [a] Actions [a] -> [a]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment