@@ -31,6 +31,7 @@ module Streamly.Test.Prelude.Common
31 , constructWithConsM
31 , constructWithConsM
32 , constructWithFromPure
32 , constructWithFromPure
33 , constructWithFromEffect
33 , constructWithFromEffect
34+ , constructfromWAsync
34 , simpleOps
35 , simpleOps
35 -- * Applicative operations
36 -- * Applicative operations
36 , applicativeOps
37 , applicativeOps
@@ -290,6 +291,18 @@ constructWithFromIndicesM op len =
290 streamEffect <- run $ readIORef mvl
291 streamEffect <- run $ readIORef mvl
291 listEquals (==) streamEffect list
292 listEquals (==) streamEffect list
294+constructfromWAsync ::
295+ S.WAsyncT IO Int -> S.WAsyncT IO Int-> [Int] -> Property
296+constructfromWAsync s1 s2 res =
297+ withMaxSuccess maxTestCount $
293constructWithCons ::
306constructWithCons ::
294 IsStream t
307 IsStream t
295 => (Int -> t IO Int -> t IO Int)
308 => (Int -> t IO Int -> t IO Int)