massiv-test-1.0.0.0: Library that contains generators, properties and tests for Massiv Array Library.
Safe HaskellNone
LanguageHaskell2010

Test.Massiv.Array.Mutable

Synopsis

Spec for safe Mutable instance

mutableSpec :: forall r ix e. (Show (Array D ix e), Show (Array r ix e), Show (Vector r e), Eq (Vector r e), Load r ix e, Eq (Array r ix e), Typeable e, Show e, Eq e, Manifest r e, CoArbitrary ix, Arbitrary e, CoArbitrary e, Arbitrary ix, Function ix, Function e) => Spec Source #

prop_GenerateArray :: forall r ix e. (Show (Array r ix e), Eq (Array r ix e), Manifest r e, Load r ix e, Show e, Arbitrary e, Arbitrary ix, Function ix, CoArbitrary ix) => Property Source #

prop_iMapiMapM :: forall r ix e. (Show (Array r ix e), Eq (Array r ix e), Manifest r e, Index ix) => Fun (ix, e) e -> Array D ix e -> Property Source #

prop_Shrink :: forall r ix e. (Show (Array r ix e), Manifest r e, Load r ix e, Arbitrary ix, Arbitrary e, Eq e) => Property Source #

prop_GrowShrink :: forall r ix e. (Eq (Array r ix e), Show (Array r ix e), Load r ix e, Manifest r e, Arbitrary ix, Arbitrary e, Show e) => Property Source #

prop_unfoldrList :: forall r ix e. (Show (Array r Ix1 e), Eq (Array r Ix1 e), Index ix, Arbitrary ix, Arbitrary e, Show e, Manifest r e) => Property Source #

prop_unfoldrReverseUnfoldl :: forall r ix e. (Show (Array r ix e), Eq (Array r ix e), Index ix, Arbitrary ix, Arbitrary e, Show e, Manifest r e) => Property Source #

prop_toStreamArrayManifest :: forall r ix e. (Manifest r e, Index ix, Show (Array r ix e), Eq (Array r ix e)) => Array r ix e -> Property Source #

Atomic ops spec

atomicIntSpec :: forall ix. (Show (Array P ix Int), Arbitrary ix, Index ix) => Spec Source #