@@ -8,20 +8,27 @@
88
99module Streamly.Test.Data.Array.Unboxed (main) where
1010
11−#include "Streamly/Test/Data/Array/CommonImports.hs"
12−
1311import Data.Char (isLower)
1412import Data.List (sort)
1513import Data.Word(Word8)
1614import Foreign.Storable (peek)
17−import Streamly.Internal.Data.Unboxed (Unboxed)
18−import Test.QuickCheck (chooseInt, listOf)
1915import GHC.Ptr (plusPtr)
16+import Streamly.Data.Fold (Fold)
17+import Streamly.Internal.Data.Stream (Stream)
18+import Streamly.Internal.Data.Unboxed (Unboxed, sizeOf)
19+import Streamly.Test.Common (listEquals)
2020
21+import qualified Streamly.Data.Fold as Fold
2122import qualified Streamly.Internal.Data.Array.Unboxed as A
2223import qualified Streamly.Internal.Data.Array.Unboxed.Type as A
2324import qualified Streamly.Internal.Data.Array.Unboxed.Mut.Type as MA
24−import qualified Streamly.Internal.Data.Fold as Fold
25+import qualified Streamly.Internal.Data.Stream as S
26+
27+import Test.Hspec as H
28+import Test.Hspec.QuickCheck
29+import Test.QuickCheck (Property, chooseInt, listOf
30+ , forAll, Gen, vectorOf, arbitrary, choose)
31+import Test.QuickCheck.Monadic (monadicIO, assert, run)
2532
2633type Array = A.Array
2734