1module Streamly.Test.Data.Array.Unboxed.Mut (main) where
3import Test.QuickCheck (listOf)
5import Streamly.Test.Common (chooseInt)
6import Test.Hspec (hspec, describe)
7import Test.Hspec.QuickCheck
8import Test.QuickCheck (forAll, Property)
9import Test.QuickCheck.Monadic (monadicIO, assert)
11import qualified Streamly.Internal.Data.Array.Unboxed.Mut as MArray
12import qualified Streamly.Internal.Data.Stream as Stream
13import qualified Test.Hspec as Hspec
19moduleName = "Data.Array.Unboxed.Mut"
23 forAll (listOf (chooseInt (-50, 100))) $ \ls0 ->
24 monadicIO $ action ls0
30 (MArray.append (MArray.newArray 0))
31 (Stream.fromList (ls::[Int]))
32 lst <- MArray.toList x
39 modifyMaxSuccess (const maxTestCount) $ do
40 describe moduleName $ do
41 describe "Stream Append" $ do
42 prop "testAppend" testAppend
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list