Adjusted the QuickCheck tests, now that Alt is handled properly
This commit is contained in:
parent
b4ee07a3a7
commit
bca3f89872
|
@ -690,7 +690,7 @@ genProcess n = nextIdT >>* makeMeta' >>= \m -> (flip oneofLS) n
|
||||||
,(2,const $ genElem3 A.Assign m (comb0 [variable "x"]) genExpressionList)
|
,(2,const $ genElem3 A.Assign m (comb0 [variable "x"]) genExpressionList)
|
||||||
,(1,const $ genElem2 A.GetTime m (comb0 $ variable "x"))
|
,(1,const $ genElem2 A.GetTime m (comb0 $ variable "x"))
|
||||||
,(1,const $ genElem3 A.Wait m (comb0 A.WaitFor) genExpression)
|
,(1,const $ genElem3 A.Wait m (comb0 A.WaitFor) genExpression)
|
||||||
,(2,genElem3 A.Alt m (comb0 True) . genStructured genAlternative' . sub1)
|
,(2,comb1 (A.Alt emptyMeta True) . genStructured genAlternative' . sub1)
|
||||||
]
|
]
|
||||||
|
|
||||||
genProcess' :: (Int, Int -> GenL A.Process)
|
genProcess' :: (Int, Int -> GenL A.Process)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user