Language.Futhark.PrimitiveTests
Contents
tests :: TestTree Source #
arbitraryPrimValOfType :: PrimType -> Gen PrimValue Source #
Methods
arbitrary :: Gen FloatType #
shrink :: FloatType -> [FloatType] #
arbitrary :: Gen FloatValue #
shrink :: FloatValue -> [FloatValue] #
arbitrary :: Gen IntType #
shrink :: IntType -> [IntType] #
arbitrary :: Gen IntValue #
shrink :: IntValue -> [IntValue] #
arbitrary :: Gen PrimType #
shrink :: PrimType -> [PrimType] #
arbitrary :: Gen PrimValue #
shrink :: PrimValue -> [PrimValue] #
arbitrary :: Gen Half #
shrink :: Half -> [Half] #